From 1f54760daedf10d15a9982d57f69cc19959cbe7c Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Thu, 10 Jan 2019 18:03:15 +0000 Subject: [PATCH] Config: Make load() private --- src/pocketmine/utils/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pocketmine/utils/Config.php b/src/pocketmine/utils/Config.php index 0484f0864..e5617f0c5 100644 --- a/src/pocketmine/utils/Config.php +++ b/src/pocketmine/utils/Config.php @@ -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;