From 350041c5f77047af1e2f7270ecc3add93dec93cd Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 5 Apr 2023 17:51:09 +0000 Subject: [PATCH] =?UTF-8?q?ci:=20=F0=9F=91=B7=20lint=20code=20to=20MediaWi?= =?UTF-8?q?ki=20standards?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Check commit and GitHub actions for more details --- includes/Partials/PageTitle.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/Partials/PageTitle.php b/includes/Partials/PageTitle.php index 5a698cb7..6a09a9c6 100644 --- a/includes/Partials/PageTitle.php +++ b/includes/Partials/PageTitle.php @@ -26,7 +26,6 @@ declare( strict_types=1 ); namespace MediaWiki\Skins\Citizen\Partials; use MediaWiki\MediaWikiServices; -use Title; /** * Title partial of Skin Citizen @@ -52,7 +51,7 @@ final class PageTitle extends Partial { * * @return bool */ - private function shouldAddParenthesis() : bool { + private function shouldAddParenthesis(): bool { $ns = $this->title->getNamespace(); $contentNs = MediaWikiServices::getInstance()->getNamespaceInfo()->getContentNamespaces(); return in_array( $ns, $contentNs );