@@ -44,8 +44,8 @@ |
||
| 44 | 44 | $scores = explode("-", $response->uitslag); |
| 45 | 45 | |
| 46 | 46 | if (isset($scores[1])) { |
| 47 | - $game->homeScore = (int)$scores[0]; |
|
| 48 | - $game->awayScore = (int)$scores[1]; |
|
| 47 | + $game->homeScore = (int) $scores[0]; |
|
| 48 | + $game->awayScore = (int) $scores[1]; |
|
| 49 | 49 | |
| 50 | 50 | if ($game->getHomeScore() === $game->getAwayScore()) { |
| 51 | 51 | $game->homeResult = self::RESULT_DRAW; |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | { |
| 12 | 12 | $api = new self(); |
| 13 | 13 | |
| 14 | - $response = $api->call("TeamDetailByGuid?teamguid=" . $id); |
|
| 14 | + $response = $api->call("TeamDetailByGuid?teamguid=" . $id); |
|
| 15 | 15 | |
| 16 | 16 | return TeamEntity::createFromResponse($response[0]); |
| 17 | 17 | } |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | { |
| 12 | 12 | $api = new self(); |
| 13 | 13 | |
| 14 | - $response = $api->call("OrgDetailByGuid?issguid=" . $id); |
|
| 14 | + $response = $api->call("OrgDetailByGuid?issguid=" . $id); |
|
| 15 | 15 | |
| 16 | 16 | return ClubEntity::createFromResponse($response[0]); |
| 17 | 17 | } |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | { |
| 12 | 12 | $api = new self(); |
| 13 | 13 | |
| 14 | - $response = $api->call("RelatiesByOrgGuid?orgguid=" . $id); |
|
| 14 | + $response = $api->call("RelatiesByOrgGuid?orgguid=" . $id); |
|
| 15 | 15 | |
| 16 | 16 | return MemberCollection::createFromArrayResponse($response); |
| 17 | 17 | } |
@@ -11,7 +11,7 @@ discard block |
||
| 11 | 11 | { |
| 12 | 12 | $api = new self(); |
| 13 | 13 | |
| 14 | - $response = $api->call("TeamMatchesByGuid?teamguid=" . $id); |
|
| 14 | + $response = $api->call("TeamMatchesByGuid?teamguid=" . $id); |
|
| 15 | 15 | |
| 16 | 16 | return GameCollection::createFromArrayResponse($response); |
| 17 | 17 | } |
@@ -20,7 +20,7 @@ discard block |
||
| 20 | 20 | { |
| 21 | 21 | $api = new self(); |
| 22 | 22 | |
| 23 | - $response = $api->call("OrgMatchesByGuid?issguid=" . $id); |
|
| 23 | + $response = $api->call("OrgMatchesByGuid?issguid=" . $id); |
|
| 24 | 24 | |
| 25 | 25 | return GameCollection::createFromArrayResponse($response); |
| 26 | 26 | } |