Convert all array() syntax to []
[lhc/web/wiklou.git] / includes / deferred / DataUpdate.php
index cb57140..2865461 100644 (file)
@@ -84,7 +84,7 @@ abstract class DataUpdate implements DeferrableUpdate {
                        return; // nothing to do
                }
 
-               $open_transactions = array();
+               $open_transactions = [];
                $exception = null;
 
                try {
@@ -130,7 +130,7 @@ abstract class DataUpdate implements DeferrableUpdate {
         * @since 1.27
         */
        protected static function enqueueUpdates( array $updates ) {
-               $remaining = array();
+               $remaining = [];
 
                foreach ( $updates as $update ) {
                        if ( $update instanceof EnqueueableDataUpdate ) {