diff --git a/CategoryTreeFunctions.php b/CategoryTreeFunctions.php index a7108392..6985b65c 100644 --- a/CategoryTreeFunctions.php +++ b/CategoryTreeFunctions.php @@ -650,7 +650,7 @@ class CategoryTree { . $label . Xml::closeElement( 'a' ); if ( $count !== false && $this->getOption( 'showcount' ) ) { - $s .= CategoryTree::createCountString( RequestContext::getMain(), $cat, $count ); + $s .= self::createCountString( RequestContext::getMain(), $cat, $count ); } $s .= Xml::closeElement( 'div' ); diff --git a/composer.json b/composer.json index 4f558595..bf202bff 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "require-dev": { "jakub-onderka/php-parallel-lint": "0.9.2", "jakub-onderka/php-console-highlighter": "0.3.2", - "mediawiki/mediawiki-codesniffer": "0.10.0" + "mediawiki/mediawiki-codesniffer": "0.10.1" }, "scripts": { "fix": "phpcbf",