Ops, wrong type-hint here, must be string ($nickname can never be an integer).
This commit is contained in:
parent
f7c1eaa858
commit
227bab43a8
|
@ -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]);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user