1
0
Fork 0
mirror of https://codeberg.org/demostf/api.git synced 2026-06-04 02:14:06 +02:00

stricter cs

This commit is contained in:
Robin Appelman 2017-07-30 15:03:52 +02:00
commit d9a843ecd6
54 changed files with 346 additions and 168 deletions

View file

@ -1,9 +1,10 @@
<?php namespace Demostf\API\Controllers;
<?php
declare(strict_types=1);
namespace Demostf\API\Controllers;
use Ehesp\SteamLogin\SteamLogin;
use Demostf\API\Providers\AuthProvider;
use Demostf\API\Providers\UserProvider;
use flight\Engine;
class UserController extends BaseController {
/**
@ -15,8 +16,8 @@ class UserController extends BaseController {
$this->userProvider = $userProvider;
}
public function get($steamid) {
\Flight::json($this->userProvider->get($steamid));
public function get($steamId) {
\Flight::json($this->userProvider->get($steamId));
}
public function search() {