]> git.mxchange.org Git - friendica.git/commitdiff
Ops, wrong type-hint here, must be string ($nickname can never be an integer).
authorRoland Häder <roland@mxchange.org>
Thu, 16 Jun 2022 20:15:06 +0000 (22:15 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 17 Jun 2022 15:18:31 +0000 (17:18 +0200)
src/Model/User.php

index 9701a57d72438916989f0ea37b4bd5dd74286668..07f2dfe8de003b21680cc906a3d4e3f8cfad73b0 100644 (file)
@@ -469,7 +469,7 @@ class User
         * @return boolean|array
         * @throws Exception
         */
-       public static function getOwnerDataByNick(int $nick)
+       public static function getOwnerDataByNick(string $nick)
        {
                $user = DBA::selectFirst('user', ['uid'], ['nickname' => $nick]);