Merge "Convert article delete to use OOUI"
[lhc/web/wiklou.git] / includes / jobqueue / aggregator / JobQueueAggregator.php
index aa02d1f..7ce2c74 100644 (file)
@@ -18,7 +18,6 @@
  * http://www.gnu.org/copyleft/gpl.html
  *
  * @file
- * @author Aaron Schulz
  */
 
 /**
@@ -142,7 +141,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,7 +162,7 @@ class JobQueueAggregatorNull extends JobQueueAggregator {
        }
 
        protected function doGetAllReadyWikiQueues() {
-               return array();
+               return [];
        }
 
        protected function doPurge() {