]> source.dussan.org Git - nextcloud-server.git/commitdiff
tame psalm. why does it ignore '@property'? 23570/head
authorArthur Schiwon <blizzz@arthur-schiwon.de>
Mon, 19 Oct 2020 11:27:58 +0000 (13:27 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Mon, 19 Oct 2020 13:37:23 +0000 (13:37 +0000)
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
apps/user_ldap/lib/Connection.php

index b7556bf236e4731b25cfcb7e7cf5c9b3c4bcfb35..431f395e50df08180895e28636bac595f7d97cd5 100644 (file)
@@ -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();
                }