mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-27 17:10:19 +00:00
cb8fc5c8c1
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: I84ced7c17157b322f858640362e1013e37773d43 |
||
---|---|---|
.. | ||
VectorComponent.php | ||
VectorComponentButton.php | ||
VectorComponentDropdown.php | ||
VectorComponentLanguageDropdown.php | ||
VectorComponentLink.php | ||
VectorComponentMainMenu.php | ||
VectorComponentMainMenuAction.php | ||
VectorComponentMainMenuActionLanguageSwitchAlert.php | ||
VectorComponentMainMenuActionOptOut.php | ||
VectorComponentMenu.php | ||
VectorComponentMenuListItem.php | ||
VectorComponentPageTools.php | ||
VectorComponentPinnableContainer.php | ||
VectorComponentPinnableElement.php | ||
VectorComponentPinnableHeader.php | ||
VectorComponentSearchBox.php | ||
VectorComponentStickyHeader.php | ||
VectorComponentTableOfContents.php | ||
VectorComponentUserLinks.php | ||
VectorComponentVariants.php |