From 1418d7115a8f15fe08791aec674cc8d8b073c814 Mon Sep 17 00:00:00 2001 From: libraryupgrader Date: Thu, 30 Jan 2020 02:49:36 +0000 Subject: [PATCH] build: Updating composer dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * mediawiki/minus-x: 0.3.2 → 1.0.0 * mediawiki/mediawiki-phan-config: 0.9.0 → 0.9.2 Change-Id: I5014cbcb67d347c840584915bb4e12c622707897 --- composer.json | 4 ++-- includes/RSSData.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index c269315..04c8955 100644 --- a/composer.json +++ b/composer.json @@ -3,8 +3,8 @@ "jakub-onderka/php-parallel-lint": "1.0.0", "jakub-onderka/php-console-highlighter": "0.4.0", "mediawiki/mediawiki-codesniffer": "29.0.0", - "mediawiki/minus-x": "0.3.2", - "mediawiki/mediawiki-phan-config": "0.9.0" + "mediawiki/minus-x": "1.0.0", + "mediawiki/mediawiki-phan-config": "0.9.2" }, "scripts": { "fix": [ diff --git a/includes/RSSData.php b/includes/RSSData.php index 6005f2f..9587015 100644 --- a/includes/RSSData.php +++ b/includes/RSSData.php @@ -55,7 +55,7 @@ class RSSData { * same as pubDate. * * @param string $name name of the element we have - * @return string Name to map it to + * @return string|null Name to map it to */ protected function rssTokenToName( $name ) { $tokenNames = [ @@ -79,7 +79,7 @@ class RSSData { return $tokenNames[ $name ]; } - return $name; + return $name; } }