1
0
Fork 0
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:
Robin Appelman 2020-11-28 23:37:02 +01:00
commit 3f9e613e77
34 changed files with 287 additions and 309 deletions

View file

@ -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;