mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-04 02:14:06 +02:00
stricter cs
This commit is contained in:
parent
309ae17036
commit
d9a843ecd6
54 changed files with 346 additions and 168 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue