1
0
Fork 0
mirror of https://codeberg.org/demostf/api.git synced 2026-06-03 09:54:17 +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

@ -40,6 +40,11 @@ class SteamUser implements JsonSerializable {
];
}
/**
* @param mixed[] $row
*
* @return SteamUser
*/
public static function fromRow(array $row): self {
return new self(
(int) $row['id'],