Safe replacement of a lot of `!count()` with `=== []`
[lhc/web/wiklou.git] / includes / jobqueue / JobQueueGroup.php
index b103b8e..4853c4a 100644 (file)
@@ -143,7 +143,7 @@ class JobQueueGroup {
                }
 
                $jobs = is_array( $jobs ) ? $jobs : [ $jobs ];
-               if ( !count( $jobs ) ) {
+               if ( $jobs === [] ) {
                        return;
                }