mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-04 02:14:06 +02:00
run lint
This commit is contained in:
parent
3e22e36a79
commit
7320711a36
23 changed files with 36 additions and 81 deletions
|
|
@ -28,8 +28,9 @@ class UserController extends BaseController {
|
|||
$steamId = Parser::convertSteamIdToCommunityId($steamId);
|
||||
} catch (InvalidArgumentException $e) {
|
||||
}
|
||||
} else if ($user = $this->userProvider->getById((int)$steamId)) {
|
||||
} elseif ($user = $this->userProvider->getById((int) $steamId)) {
|
||||
Flight::json($user);
|
||||
|
||||
return;
|
||||
}
|
||||
Flight::json($this->userProvider->get($steamId));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue