Merge "Move up devunt's name to Developers"
[lhc/web/wiklou.git] / includes / jobqueue / aggregator / JobQueueAggregator.php
index febc277..4169974 100644 (file)
@@ -142,7 +142,7 @@ abstract class JobQueueAggregator {
        protected function findPendingWikiQueues() {
                global $wgLocalDatabases;
 
-               $pendingDBs = array(); // (job type => (db list))
+               $pendingDBs = []; // (job type => (db list))
                foreach ( $wgLocalDatabases as $db ) {
                        foreach ( JobQueueGroup::singleton( $db )->getQueuesWithJobs() as $type ) {
                                $pendingDBs[$type][] = $db;
@@ -163,10 +163,10 @@ class JobQueueAggregatorNull extends JobQueueAggregator {
        }
 
        protected function doGetAllReadyWikiQueues() {
-               return array();
+               return [];
        }
 
        protected function doPurge() {
                return true;
        }
-}
\ No newline at end of file
+}