mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Config: Make load() private
This commit is contained in:
@ -144,7 +144,7 @@ class Config{
|
|||||||
* @throws \InvalidArgumentException if config type could not be auto-detected
|
* @throws \InvalidArgumentException if config type could not be auto-detected
|
||||||
* @throws \InvalidStateException if config type is invalid
|
* @throws \InvalidStateException if config type is invalid
|
||||||
*/
|
*/
|
||||||
public function load(string $file, int $type = Config::DETECT, array $default = []) : void{
|
private function load(string $file, int $type = Config::DETECT, array $default = []) : void{
|
||||||
$this->file = $file;
|
$this->file = $file;
|
||||||
|
|
||||||
$this->type = $type;
|
$this->type = $type;
|
||||||
|
Reference in New Issue
Block a user