mediawiki-extensions-Templa.../includes
Timo Tijhof 73aed63e0a ApiTemplateData: Address non-array count() warning on PHP 7.2
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
2018-10-14 03:54:24 +01:00
..
api ApiTemplateData: Address non-array count() warning on PHP 7.2 2018-10-14 03:54:24 +01:00
TemplateDataBlob.php Merge "Remove empty Default, Example and Auto value sections of the output table" 2018-09-28 16:08:34 +00:00
TemplateDataHooks.php Fix problems with MediaWiki messages and non-displaying icons 2018-09-03 17:14:16 +02:00