build: Updating mediawiki/mediawiki-phan-config to 0.10.5

Change-Id: Icabfa063e34d2d09de7bf8b3154682ac1c4682f0
This commit is contained in:
libraryupgrader 2020-12-10 10:14:37 +00:00 committed by Daimona Eaytoy
parent 1400cb4ca9
commit f66f1a81d5
2 changed files with 2 additions and 2 deletions

View file

@ -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"

View file

@ -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 ) {