mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-04 10:24:07 +02:00
Add php-cs-fixer
This commit is contained in:
parent
e00e6ece5f
commit
309ae17036
54 changed files with 4900 additions and 4106 deletions
|
|
@ -3,42 +3,42 @@
|
|||
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;
|
||||
/** @var string */
|
||||
private $name;
|
||||
/** @var int */
|
||||
private $demoUserId;
|
||||
/** @var string */
|
||||
private $steamId;
|
||||
/** @var string */
|
||||
private $team;
|
||||
/** @var string` */
|
||||
private $class;
|
||||
|
||||
public function __construct(string $name, int $demoUserId, string $steamId, string $team, string $class) {
|
||||
$this->name = $name;
|
||||
$this->demoUserId = $demoUserId;
|
||||
$this->steamId = $steamId;
|
||||
$this->team = $team;
|
||||
$this->class = $class;
|
||||
}
|
||||
public function __construct(string $name, int $demoUserId, string $steamId, string $team, string $class) {
|
||||
$this->name = $name;
|
||||
$this->demoUserId = $demoUserId;
|
||||
$this->steamId = $steamId;
|
||||
$this->team = $team;
|
||||
$this->class = $class;
|
||||
}
|
||||
|
||||
public function getName(): string {
|
||||
return $this->name;
|
||||
}
|
||||
public function getName(): string {
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
public function getDemoUserId(): int {
|
||||
return $this->demoUserId;
|
||||
}
|
||||
public function getDemoUserId(): int {
|
||||
return $this->demoUserId;
|
||||
}
|
||||
|
||||
public function getSteamId(): string {
|
||||
return $this->steamId;
|
||||
}
|
||||
public function getSteamId(): string {
|
||||
return $this->steamId;
|
||||
}
|
||||
|
||||
public function getTeam(): string {
|
||||
return $this->team;
|
||||
}
|
||||
public function getTeam(): string {
|
||||
return $this->team;
|
||||
}
|
||||
|
||||
public function getClass(): string {
|
||||
return $this->class;
|
||||
}
|
||||
public function getClass(): string {
|
||||
return $this->class;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue