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:
parent
28589d505d
commit
3f9e613e77
34 changed files with 287 additions and 309 deletions
|
|
@ -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'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue