mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Replaced array() with []
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user