mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-30 19:14:22 +00:00
8f6ead1f82
empty() should only be used to suppress errors When the type of the variable is array, a falsy check is the same (checks for null, false and empty array) Found by a new phan plugin (T234237) Change-Id: Id855be9dd25a27d9e46e3065dacbd268177b073d |
||
---|---|---|
.. | ||
lualib | ||
HashLibrary.php | ||
HtmlLibrary.php | ||
LanguageLibrary.php | ||
LibraryBase.php | ||
LuaEngine.php | ||
LuaError.php | ||
LuaInterpreter.php | ||
LuaInterpreterBadVersionError.php | ||
LuaInterpreterNotExecutableError.php | ||
LuaInterpreterNotFoundError.php | ||
LuaModule.php | ||
MessageLibrary.php | ||
SiteLibrary.php | ||
TextLibrary.php | ||
TitleLibrary.php | ||
UriLibrary.php | ||
UstringLibrary.php |