From f66f1a81d5eee591e16f5ec8a540625dab7c58e4 Mon Sep 17 00:00:00 2001 From: libraryupgrader Date: Thu, 10 Dec 2020 10:14:37 +0000 Subject: [PATCH] build: Updating mediawiki/mediawiki-phan-config to 0.10.5 Change-Id: Icabfa063e34d2d09de7bf8b3154682ac1c4682f0 --- composer.json | 2 +- includes/ImageMap.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 1dc4991..c97a679 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ }, "require-dev": { "mediawiki/mediawiki-codesniffer": "34.0.0", - "mediawiki/mediawiki-phan-config": "0.10.4", + "mediawiki/mediawiki-phan-config": "0.10.5", "mediawiki/minus-x": "1.1.0", "php-parallel-lint/php-console-highlighter": "0.5.0", "php-parallel-lint/php-parallel-lint": "1.2.0" diff --git a/includes/ImageMap.php b/includes/ImageMap.php index 35d12a1..dbe6c47 100644 --- a/includes/ImageMap.php +++ b/includes/ImageMap.php @@ -153,7 +153,7 @@ class ImageMap { $descType = array_search( $type, $types ); if ( $descType > 4 ) { // A localized descType is used. Subtract 5 to reach the canonical desc type. - $descType = $descType - 5; + $descType -= 5; } // <0? In theory never, but paranoia... if ( $descType === false || $descType < 0 ) {