mediawiki-extensions-ImageMap/includes
Thiemo Kreuz 826f5f6ffb Modernize ImageMap implementation a bit
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
2020-05-20 08:48:52 +02:00
..
ImageMap.php Modernize ImageMap implementation a bit 2020-05-20 08:48:52 +02:00