mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 09:26:06 +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 \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->type = $type;
|
||||
|
Reference in New Issue
Block a user