mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ImageMap
synced 2024-11-23 22:03:31 +00:00
build: Updating mediawiki/mediawiki-phan-config to 0.10.5
Change-Id: Icabfa063e34d2d09de7bf8b3154682ac1c4682f0
This commit is contained in:
parent
1400cb4ca9
commit
f66f1a81d5
|
@ -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"
|
||||
|
|
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in a new issue