mirror of
https://github.com/friendica/friendica
synced 2024-11-10 08:22:57 +00:00
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