mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ImageMap
synced 2024-09-23 18:28:28 +00:00
826f5f6ffb
Notable: * Use strict === for string comparisons. * Use ?? instead of isset(), where it makes sense. * Avoid expensive recursiveTagParse() with empty strings. * Add strict Parser type hint. Note this would have failed anyway because the code below just assumes this is a Parser. * Use the actual $lineNum from the loop instead of manually counting. Note the loop is 0-based, while $lineNum is meant to be 1-based. Therefor the ++. Change-Id: I907b6c9ce3eef404dc7f048c14c4707dd1d0d98a |
||
---|---|---|
.. | ||
ImageMap.php |