Replaced array() with []

This commit is contained in:
Shoghi Cervantes
2014-08-28 17:04:22 +02:00
parent 2f2afe2336
commit eab86f5f90
122 changed files with 535 additions and 533 deletions

View File

@ -47,7 +47,7 @@ class Config{
/** @var integer */
private $type = Config::DETECT;
public static $formats = array(
public static $formats = [
"properties" => Config::PROPERTIES,
"cnf" => Config::CNF,
"conf" => Config::CNF,
@ -63,7 +63,7 @@ class Config{
"txt" => Config::ENUM,
"list" => Config::ENUM,
"enum" => Config::ENUM,
);
];
/**
* @param string $file Path of the file to be loaded