1
0
Fork 0
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:
Robin Appelman 2017-04-11 01:00:21 +02:00
commit 9024e368c7
12 changed files with 204 additions and 81 deletions

View file

@ -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 {