Skip to content

Commit dcc3aa6

Browse files
Travis BlasingameTravis Blasingame
authored andcommitted
Fixing minor bug from the update
1 parent 82918cc commit dcc3aa6

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/Syntax/SteamApi/Containers/Player.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ public function __construct($player)
5252
$this->primaryClanId = isset($player->primaryclanid) ? $player->primaryclanid : null;
5353
$this->timecreated = isset($player->timecreated) ? date('F jS, Y h:ia', $player->timecreated) : null;
5454
$this->personaStateFlags = isset($player->personastateflags) ? $player->personastateflags : null;
55-
$this->$locCountryCode = isset($player->loccountrycode) ? $player->loccountrycode : null;
56-
$this->$locStateCode = isset($player->locstatecode) ? $player->locstatecode : null;
57-
$this->$locCityId = isset($player->loccityid) ? $player->loccityid : null;
55+
$this->locCountryCode = isset($player->loccountrycode) ? $player->loccountrycode : null;
56+
$this->locStateCode = isset($player->locstatecode) ? $player->locstatecode : null;
57+
$this->locCityId = isset($player->loccityid) ? $player->loccityid : null;
5858
}
5959

6060
protected function getImageForAvatar($image)

src/Syntax/SteamApi/Steam/User.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ public function GetPlayerSummaries($steamId = null)
3030
// Get the client
3131
$client = $this->setUpClient($arguments)->response;
3232

33-
pp($client);
34-
3533
// Clean up the games
3634
$players = $this->convertToObjects($client->players);
3735

0 commit comments

Comments
 (0)