mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-04 02:14:06 +02:00
more type hints
This commit is contained in:
parent
b3fbc1be3c
commit
807c8c9a26
7 changed files with 23 additions and 21 deletions
|
|
@ -118,7 +118,7 @@ class UserProvider extends BaseProvider {
|
|||
return array_values($result);
|
||||
}
|
||||
|
||||
public function byKey($key): ?User {
|
||||
public function byKey(string $key): ?User {
|
||||
$query = $this->getQueryBuilder();
|
||||
$query->select(['id', 'steamid', 'name', 'avatar', 'token'])
|
||||
->from('users')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue