@@ -79,21 +79,21 @@ |
||
79 | 79 | return $this->data(); |
80 | 80 | } |
81 | 81 | |
82 | - /** |
|
83 | - * Get the details of the required request |
|
84 | - * |
|
85 | - * @return object |
|
86 | - */ |
|
87 | - private function data() |
|
88 | - { |
|
89 | - $result = json_decode($this->response->getBody()); |
|
90 | - $simplifiedResult = []; |
|
91 | - if (is_array($result)) { |
|
92 | - foreach ($result as $key => $value) { |
|
93 | - $simplifiedResult[$key] = (array)$value; |
|
94 | - } |
|
95 | - return $simplifiedResult; |
|
96 | - } |
|
97 | - return (array)$result; |
|
98 | - } |
|
82 | + /** |
|
83 | + * Get the details of the required request |
|
84 | + * |
|
85 | + * @return object |
|
86 | + */ |
|
87 | + private function data() |
|
88 | + { |
|
89 | + $result = json_decode($this->response->getBody()); |
|
90 | + $simplifiedResult = []; |
|
91 | + if (is_array($result)) { |
|
92 | + foreach ($result as $key => $value) { |
|
93 | + $simplifiedResult[$key] = (array)$value; |
|
94 | + } |
|
95 | + return $simplifiedResult; |
|
96 | + } |
|
97 | + return (array)$result; |
|
98 | + } |
|
99 | 99 | } |