From 23ddd8cfd14aa6a7d62ad385b9160f3add991b86 Mon Sep 17 00:00:00 2001 From: Fomafix Date: Mon, 21 Oct 2024 09:23:57 +0000 Subject: [PATCH] Remove unused parameter PPFrame $frame Change-Id: Ic014850a01fbf5820c2ad77d89ae98e1525dcb7b --- includes/Hooks.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/includes/Hooks.php b/includes/Hooks.php index 805ccf4a..b02094b0 100644 --- a/includes/Hooks.php +++ b/includes/Hooks.php @@ -39,7 +39,6 @@ use MediaWiki\Output\Hook\OutputPageRenderCategoryLinkHook; use MediaWiki\Output\OutputPage; use MediaWiki\Page\ProperPageIdentity; use MediaWiki\Parser\Parser; -use MediaWiki\Parser\PPFrame; use MediaWiki\Parser\Sanitizer; use MediaWiki\ResourceLoader as RL; use MediaWiki\SpecialPage\SpecialPage; @@ -184,14 +183,12 @@ class Hooks implements * @param string $cat * @param array $argv * @param Parser|null $parser - * @param PPFrame|null $frame * @return bool|string */ public function parserHook( $cat, array $argv, - ?Parser $parser = null, - ?PPFrame $frame = null + ?Parser $parser = null ) { if ( $parser ) { $parserOutput = $parser->getOutput();