diff --git a/apps/user_ldap/lib/Connection.php b/apps/user_ldap/lib/Connection.php index f4ead2a383..539e3f2851 100644 --- a/apps/user_ldap/lib/Connection.php +++ b/apps/user_ldap/lib/Connection.php @@ -140,11 +140,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(); }