mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-04 02:14:06 +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,48 +3,48 @@
|
|||
namespace Demostf\API\Data;
|
||||
|
||||
class Kill {
|
||||
private $id;
|
||||
private $id;
|
||||
|
||||
private $demoId;
|
||||
private $demoId;
|
||||
|
||||
private $attackerId;
|
||||
private $attackerId;
|
||||
|
||||
private $assisterId;
|
||||
private $assisterId;
|
||||
|
||||
private $victimId;
|
||||
private $victimId;
|
||||
|
||||
private $weapon;
|
||||
private $weapon;
|
||||
|
||||
public function __construct(int $id, int $demoId, int $attackerId, int $assisterId, int $victimId, string $weapon) {
|
||||
$this->id = $id;
|
||||
$this->demoId = $demoId;
|
||||
$this->attackerId = $attackerId;
|
||||
$this->assisterId = $assisterId;
|
||||
$this->victimId = $victimId;
|
||||
$this->weapon = $weapon;
|
||||
}
|
||||
public function __construct(int $id, int $demoId, int $attackerId, int $assisterId, int $victimId, string $weapon) {
|
||||
$this->id = $id;
|
||||
$this->demoId = $demoId;
|
||||
$this->attackerId = $attackerId;
|
||||
$this->assisterId = $assisterId;
|
||||
$this->victimId = $victimId;
|
||||
$this->weapon = $weapon;
|
||||
}
|
||||
|
||||
public function getId(): int {
|
||||
return $this->id;
|
||||
}
|
||||
public function getId(): int {
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
public function getDemoId(): int {
|
||||
return $this->demoId;
|
||||
}
|
||||
public function getDemoId(): int {
|
||||
return $this->demoId;
|
||||
}
|
||||
|
||||
public function getAttackerId(): int {
|
||||
return $this->attackerId;
|
||||
}
|
||||
public function getAttackerId(): int {
|
||||
return $this->attackerId;
|
||||
}
|
||||
|
||||
public function getAssisterId(): int {
|
||||
return $this->assisterId;
|
||||
}
|
||||
public function getAssisterId(): int {
|
||||
return $this->assisterId;
|
||||
}
|
||||
|
||||
public function getVictimId(): int {
|
||||
return $this->victimId;
|
||||
}
|
||||
public function getVictimId(): int {
|
||||
return $this->victimId;
|
||||
}
|
||||
|
||||
public function getWeapon(): string {
|
||||
return $this->weapon;
|
||||
}
|
||||
public function getWeapon(): string {
|
||||
return $this->weapon;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue