diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2016-08-17 09:46:54 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-08-29 14:34:37 +0200 |
commit | 4d31caa6f842d427205b96f6823044b73e08a108 (patch) | |
tree | a38d11f4b4e8c8b98ddb40cdfb0470c4e6be5f0c /apps/user_ldap/lib/Configuration.php | |
parent | 3647fbe7cd86e743b059889d69b03fcf8207780f (diff) | |
download | nextcloud-server-4d31caa6f842d427205b96f6823044b73e08a108.tar.gz nextcloud-server-4d31caa6f842d427205b96f6823044b73e08a108.zip |
fix a few minor code smells
Diffstat (limited to 'apps/user_ldap/lib/Configuration.php')
-rw-r--r-- | apps/user_ldap/lib/Configuration.php | 5 |
1 files changed, 3 insertions, 2 deletions
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() { |