diff --git a/apps/user_ldap/lib/Connection.php b/apps/user_ldap/lib/Connection.php index b7556bf236..431f395e50 100644 --- a/apps/user_ldap/lib/Connection.php +++ b/apps/user_ldap/lib/Connection.php @@ -145,11 +145,7 @@ class Connection extends LDAPUtility { $this->dontDestruct = true; } - /** - * @param string $name - * @return bool|mixed - */ - public function __get($name) { + public function __get(string $name) { if (!$this->configured) { $this->readConfiguration(); }