diff --git a/src/HookHelper.php b/src/HookHelper.php index d35f57a1..84cc7734 100644 --- a/src/HookHelper.php +++ b/src/HookHelper.php @@ -12,6 +12,10 @@ use Wikimedia\Rdbms\IResultWrapper; class HookHelper { private HookRunner $hookRunner; + /** + * Constructor. + * @param HookContainer $hookContainer + */ public function __construct( HookContainer $hookContainer ) { $this->hookRunner = new HookRunner( $hookContainer ); } diff --git a/src/Hooks/HookRunner.php b/src/Hooks/HookRunner.php index bfdb3a41..86c04ec8 100644 --- a/src/Hooks/HookRunner.php +++ b/src/Hooks/HookRunner.php @@ -14,6 +14,10 @@ class HookRunner implements { private HookContainer $hookContainer; + /** + * Constructor. + * @param HookContainer $hookContainer + */ public function __construct( HookContainer $hookContainer ) { $this->hookContainer = $hookContainer; }