mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/PageImages
synced 2024-11-15 12:00:40 +00:00
34b0dd5ff6
`$leadImages || $images` will return a boolean, it doesn't work like JavaScript or Python. Use `?:` to implement what was wanted. This only worked because `count( true ) === 1`. Using assertCount() would have caught it also. Change-Id: I11357b23ad1124ed96d863872014cdca7c59e284 |
||
---|---|---|
.. | ||
ApiQueryPageImagesProxyMock.php | ||
ApiQueryPageImagesTest.php | ||
LinksUpdateHookHandlerTest.php | ||
PageImagesTest.php |