X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FHooks.php;h=dffc7bcfe859c7d9f60610b2f7a18ce7b0c92f1b;hb=07a8fc1b9697ab9ea61d954248a5bd58a015e153;hp=44f78a573194dbb553a4784fbf96d7a9b61d31eb;hpb=488224991c712ef4b92c4559068cdf55febc58f9;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Hooks.php b/includes/Hooks.php index 44f78a5731..dffc7bcfe8 100644 --- a/includes/Hooks.php +++ b/includes/Hooks.php @@ -127,11 +127,12 @@ class Hooks { * @param string|null $deprecatedVersion Optionally, mark hook as deprecated with version number * @return bool True if no handler aborted the hook * + * @throws Exception + * @throws FatalError + * @throws MWException * @since 1.22 A hook function is not required to return a value for * processing to continue. Not returning a value (or explicitly * returning null) is equivalent to returning true. - * @throws MWException - * @throws FatalError */ public static function run( $event, array $args = array(), $deprecatedVersion = null ) { $profiler = Profiler::instance();