hookContainer = $hookContainer; } /** @inheritDoc */ public function onConfirmEditTriggersCaptcha( string $action, ?PageIdentity $page, bool &$result ) { $this->hookContainer->run( 'ConfirmEditTriggersCaptcha', [ $action, $page, &$result ] ); } }