mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-04 10:24:07 +02:00
type hint all the things
This commit is contained in:
parent
28589d505d
commit
3f9e613e77
34 changed files with 287 additions and 309 deletions
|
|
@ -5,16 +5,11 @@ declare(strict_types=1);
|
|||
namespace Demostf\API\Data;
|
||||
|
||||
class ParsedPlayer {
|
||||
/** @var string */
|
||||
private $name;
|
||||
/** @var int */
|
||||
private $demoUserId;
|
||||
/** @var string */
|
||||
private $steamId;
|
||||
/** @var string */
|
||||
private $team;
|
||||
/** @var string` */
|
||||
private $class;
|
||||
private string $name;
|
||||
private int $demoUserId;
|
||||
private string $steamId;
|
||||
private string $team;
|
||||
private string $class;
|
||||
|
||||
public function __construct(string $name, int $demoUserId, string $steamId, string $team, string $class) {
|
||||
$this->name = $name;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue