diff --git a/src/Model/User.php b/src/Model/User.php index 9701a57d7..07f2dfe8d 100644 --- a/src/Model/User.php +++ b/src/Model/User.php @@ -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]);