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,17 +5,12 @@ declare(strict_types=1);
|
|||
namespace Demostf\API\Data;
|
||||
|
||||
class Kill {
|
||||
private $id;
|
||||
|
||||
private $demoId;
|
||||
|
||||
private $attackerId;
|
||||
|
||||
private $assisterId;
|
||||
|
||||
private $victimId;
|
||||
|
||||
private $weapon;
|
||||
private int $id;
|
||||
private int $demoId;
|
||||
private int $attackerId;
|
||||
private int $assisterId;
|
||||
private int $victimId;
|
||||
private string $weapon;
|
||||
|
||||
public function __construct(int $id, int $demoId, int $attackerId, int $assisterId, int $victimId, string $weapon) {
|
||||
$this->id = $id;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue