diff --git a/includes/PopupsHooks.php b/includes/PopupsHooks.php index 4cd2735b6..7340efa3e 100644 --- a/includes/PopupsHooks.php +++ b/includes/PopupsHooks.php @@ -79,10 +79,10 @@ class PopupsHooks { /** * Allows last minute changes to the output page, e.g. adding of CSS or JavaScript by extensions. * - * @param OutputPage &$out The Output page object - * @param Skin &$skin &Skin object that will be used to generate the page + * @param OutputPage $out The Output page object + * @param Skin $skin Skin object that will be used to generate the page */ - public static function onBeforePageDisplay( OutputPage &$out, Skin &$skin ) { + public static function onBeforePageDisplay( OutputPage $out, Skin $skin ) { /** @var PopupsContext $context */ $context = MediaWikiServices::getInstance()->getService( 'Popups.Context' ); if ( $context->isTitleBlacklisted( $out->getTitle() ) ) {