dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Safe replacement of a lot of `!count()` with `=== []`
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialTrackingCategories.php
diff --git
a/includes/specials/SpecialTrackingCategories.php
b/includes/specials/SpecialTrackingCategories.php
index
3ee7cea
..
4a586b7
100644
(file)
--- a/
includes/specials/SpecialTrackingCategories.php
+++ b/
includes/specials/SpecialTrackingCategories.php
@@
-94,7
+94,7
@@
class SpecialTrackingCategories extends SpecialPage {
}
# Extra message, when no category was found
- if (
!count( $allMsgs )
) {
+ if (
$allMsgs === []
) {
$allMsgs[] = $this->msg( 'trackingcategories-disabled' )->parse();
}