Merge "Try to predict the rev_id when preparing edits"
[lhc/web/wiklou.git] / includes / utils / BatchRowUpdate.php
index e739be3..549ad41 100644 (file)
@@ -86,14 +86,14 @@ class BatchRowUpdate {
         */
        public function execute() {
                foreach ( $this->reader as $rows ) {
-                       $updates = array();
+                       $updates = [];
                        foreach ( $rows as $row ) {
                                $update = $this->generator->update( $row );
                                if ( $update ) {
-                                       $updates[] = array(
+                                       $updates[] = [
                                                'primaryKey' => $this->reader->extractPrimaryKeys( $row ),
                                                'changes' => $update,
-                                       );
+                                       ];
                                }
                        }