mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-10 15:59:39 +00:00
Config: Make load() private
This commit is contained in:
parent
5d8fa2e126
commit
1f54760dae
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user