}
// Core default themes
- $themes = array( 'default' => 'mediawiki' );
+ $themes = [ 'default' => 'mediawiki' ];
$themes += ExtensionRegistry::getInstance()->getAttribute( 'SkinOOUIThemes' );
$name = $this->definition['name'];
$rootPath = $this->definition['rootPath'];
- $definition = array();
+ $definition = [];
foreach ( $themes as $skin => $theme ) {
// TODO Allow extensions to specify this path somehow
$dataPath = $this->localBasePath . '/' . $rootPath . '/' . $theme . '/' . $name . '.json';
}
} );
} else {
- $data = array();
+ $data = [];
}
foreach ( $data as $key => $value ) {