src/WorldOfWarcraft/AchievementApi/AchievementApi.php 1 location
|
@@ 96-103 (lines=8) @@
|
93 |
|
* |
94 |
|
* @return \StdClass |
95 |
|
*/ |
96 |
|
private function prepareResponseObject($field) |
97 |
|
{ |
98 |
|
$requestModel = $this->prepareRequestModel($field); |
99 |
|
$response = $this->requestService->doRequest($requestModel); |
100 |
|
$responseObject = json_decode($response); |
101 |
|
|
102 |
|
return $responseObject; |
103 |
|
} |
104 |
|
} |
105 |
|
|
src/WorldOfWarcraft/CharacterProfileApi/CharacterProfileApi.php 1 location
|
@@ 444-451 (lines=8) @@
|
441 |
|
* |
442 |
|
* @return \StdClass |
443 |
|
*/ |
444 |
|
private function prepareResponseObject($addition = '') |
445 |
|
{ |
446 |
|
$requestModel = $this->prepareRequestModel($addition); |
447 |
|
$response = $this->requestService->doRequest($requestModel); |
448 |
|
$responseObject = json_decode($response); |
449 |
|
|
450 |
|
return $responseObject; |
451 |
|
} |
452 |
|
} |
453 |
|
|