mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateData
synced 2024-11-11 16:59:25 +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 |
||
---|---|---|
i18n | ||
includes | ||
lib/jquery.uls | ||
modules | ||
resources | ||
tests | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
.stylelintrc.json | ||
CODE_OF_CONDUCT.md | ||
composer.json | ||
COPYING | ||
extension.json | ||
Gruntfile.js | ||
jsduck.external.js | ||
jsduck.json | ||
package.json | ||
Specification.md | ||
TemplateData.php |