diff --git a/composer.json b/composer.json index 17019b96..cdb082db 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "require-dev": { "jakub-onderka/php-parallel-lint": "1.0.0", - "mediawiki/mediawiki-codesniffer": "18.0.0", + "mediawiki/mediawiki-codesniffer": "19.1.0", "jakub-onderka/php-console-highlighter": "0.3.2", "mediawiki/minus-x": "0.3.1", "mediawiki/mediawiki-phan-config": "0.2.0" diff --git a/src/ReplaceTextUtils.php b/src/ReplaceTextUtils.php index 796e366e..c7694011 100644 --- a/src/ReplaceTextUtils.php +++ b/src/ReplaceTextUtils.php @@ -25,7 +25,7 @@ class ReplaceTextUtils { /** * Shim for compatibility * @param Title $title to link to - * @param string $text to show + * @param string|null $text to show * @return string HTML for link */ public static function link( Title $title, $text = null ) {