Merge "Break up $wgDummyLanguageCodes"
[lhc/web/wiklou.git] / maintenance / sqlite.inc
index e173190..33ca0ff 100644 (file)
@@ -49,15 +49,15 @@ class Sqlite {
                        throw new MWException( "Can't check SQL syntax: SQLite not found" );
                }
                if ( !is_array( $files ) ) {
-                       $files = array( $files );
+                       $files = [ $files ];
                }
 
-               $allowedTypes = array_flip( array(
+               $allowedTypes = array_flip( [
                        'integer',
                        'real',
                        'text',
                        'blob', // NULL type is omitted intentionally
-               ) );
+               ] );
 
                $db = DatabaseSqlite::newStandaloneInstance( ':memory:' );
                try {