Merge "Make unused variable optional in ChangesList::insertDiffHist"
[lhc/web/wiklou.git] / maintenance / patchSql.php
index f94046a..43fbd38 100644 (file)
@@ -46,11 +46,11 @@ class PatchSql extends Maintenance {
        public function execute() {
                $dbw = $this->getDB( DB_MASTER );
                foreach ( $this->mArgs as $arg ) {
-                       $files = array(
+                       $files = [
                                $arg,
                                $dbw->patchPath( $arg ),
                                $dbw->patchPath( "patch-$arg.sql" ),
-                       );
+                       ];
                        foreach ( $files as $file ) {
                                if ( file_exists( $file ) ) {
                                        $this->output( "$file ...\n" );