From b749f1973267a126a3380e0d99323c64e6ef657e Mon Sep 17 00:00:00 2001 From: Dexter Marks-Barber Date: Thu, 21 Jun 2018 16:02:30 +0100 Subject: [PATCH] Update Config.php --- src/LangleyFoxall/Modules/Helpers/Config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/LangleyFoxall/Modules/Helpers/Config.php b/src/LangleyFoxall/Modules/Helpers/Config.php index 07fba6a..13e70aa 100644 --- a/src/LangleyFoxall/Modules/Helpers/Config.php +++ b/src/LangleyFoxall/Modules/Helpers/Config.php @@ -18,10 +18,10 @@ abstract public function authenticatable(); /** * @param $variable + * @return mixed */ public function __get($variable) { - if (array_key_exists($variable, $this->config)) { return $this->config[ $variable ]; } @@ -46,4 +46,4 @@ public function __call(string $method, array $args) return null; } -} \ No newline at end of file +}