/**
* @since 1.18
*/
-class MWHookException extends MWException {}
+class MWHookException extends MWException {
+}
/**
* Hooks class.
* @since 1.18
*/
class Hooks {
-
/**
* Array of events mapped to an array of callbacks to be run
* when that event is triggered.
* Attach an event handler to a given hook.
*
* @param string $name Name of hook
- * @param mixed $callback Callback function to attach
+ * @param callable $callback Callback function to attach
*
* @since 1.18
*/