We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbc4873 commit 56db102Copy full SHA for 56db102
src/Syntax/SteamApi/Containers/Player.php
@@ -51,7 +51,7 @@ public function __construct($player)
51
$this->steamId = $player->steamid;
52
$this->steamIds = (new Id((int)$this->steamId));
53
$this->communityVisibilityState = $player->communityvisibilitystate;
54
- $this->profileState = $player->profilestate;
+ $this->profileState = $this->checkIssetField($player, 'profilestate');
55
$this->personaName = $player->personaname;
56
$this->lastLogoff = date('F jS, Y h:ia', $player->lastlogoff);
57
$this->profileUrl = $player->profileurl;
@@ -92,4 +92,4 @@ protected function convertPersonaState($personaState)
92
}
93
94
95
-}
+}
0 commit comments