mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateData
synced 2024-11-15 03:34:44 +00:00
73aed63e0a
The $data value here comes from TemplateDataBlob which is always an instance of stdClass. It has no items that make sense to count, and the object was already being used as $data->params a few lines higher, which means this count operation would always yield "1", by proxy of count() effectively seeing the non-array as an array containing the one non-array item. Bug: T202087 Change-Id: If725aa8b4229613bf60290eb78654a42497056c8 |
||
---|---|---|
.. | ||
ApiTemplateData.php |