@@ 131-135 (lines=5) @@ | ||
128 | protected function getContentFromUrlThroughCurlAsArrayIfJson($fullURL, $features = null) |
|
129 | { |
|
130 | $result = $this->setJsonToArray($this->getContentFromUrlThroughCurl($fullURL, $features)); |
|
131 | if (isset($result['info'])) { |
|
132 | if (is_array($result['info'])) { |
|
133 | ksort($result['info']); |
|
134 | } |
|
135 | } |
|
136 | if (isset($result['response'])) { |
|
137 | if (is_array($result['response'])) { |
|
138 | ksort($result['response']); |
|
@@ 136-140 (lines=5) @@ | ||
133 | ksort($result['info']); |
|
134 | } |
|
135 | } |
|
136 | if (isset($result['response'])) { |
|
137 | if (is_array($result['response'])) { |
|
138 | ksort($result['response']); |
|
139 | } |
|
140 | } |
|
141 | return $result; |
|
142 | } |
|
143 |