aboutsummaryrefslogtreecommitdiffstats
path: root/includes/content/WikitextContent.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/content/WikitextContent.php')
-rw-r--r--includes/content/WikitextContent.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/content/WikitextContent.php b/includes/content/WikitextContent.php
index f808664d1b68..6fac7e46a3b2 100644
--- a/includes/content/WikitextContent.php
+++ b/includes/content/WikitextContent.php
@@ -214,7 +214,7 @@ class WikitextContent extends TextContent {
*
* @return bool
*/
- public function isCountable( $hasLinks = null, Title $title = null ) {
+ public function isCountable( $hasLinks = null, ?Title $title = null ) {
$articleCountMethod = MediaWikiServices::getInstance()->getMainConfig()
->get( MainConfigNames::ArticleCountMethod );