From 4d31caa6f842d427205b96f6823044b73e08a108 Mon Sep 17 00:00:00 2001 From: Jörn Friedrich Dreyer Date: Wed, 17 Aug 2016 09:46:54 +0200 Subject: fix a few minor code smells --- apps/user_ldap/lib/Configuration.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'apps/user_ldap/lib/Configuration.php') diff --git a/apps/user_ldap/lib/Configuration.php b/apps/user_ldap/lib/Configuration.php index 2fa42efda26..54dfe6779ba 100644 --- a/apps/user_ldap/lib/Configuration.php +++ b/apps/user_ldap/lib/Configuration.php @@ -106,12 +106,13 @@ class Configuration { /** * @param string $name - * @return mixed|void + * @return mixed|null */ public function __get($name) { if(isset($this->config[$name])) { return $this->config[$name]; } + return null; } /** @@ -182,7 +183,7 @@ class Configuration { $applied[] = $inputKey; } } - + return null; } public function readConfiguration() { -- cgit v1.2.3