mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-04 02:14:06 +02:00
hook everything up into a working system
This commit is contained in:
parent
03d3acebf5
commit
9024e368c7
12 changed files with 204 additions and 81 deletions
|
|
@ -78,9 +78,7 @@ class UserProvider extends BaseProvider {
|
|||
}
|
||||
}
|
||||
|
||||
return array_map(function (array $row) {
|
||||
return User::fromRow($row);
|
||||
}, array_values($result));
|
||||
return array_values($result);
|
||||
}
|
||||
|
||||
public function byKey($key): ?User {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue