Clarify types on custom hooks
authorEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 3 Jun 2021 00:56:16 +0000 (12:56 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 3 Jun 2021 00:57:33 +0000 (12:57 +1200)
commit445bbeede6add8a0b2289905ad6fb41ce9b81199
treeef94c2df15598074dfad8288509a314ad4d95923
parent192cda600773883a4aedd6d73086d16d8bd197e3
Clarify types on custom hooks

The custom & customPre hooks are not called elsewhere in gituniverse
so we can add type hints and fix casting & comments to make it
clearer what the variables are
CRM/Core/BAO/CustomValue.php
CRM/Core/BAO/CustomValueTable.php
CRM/Utils/Hook.php