Ops, wrong type-hint here, must be string ($nickname can never be an integer).
This commit is contained in:
parent
f7c1eaa858
commit
227bab43a8
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue