@@ 119-123 (lines=5) @@ | ||
116 | protected function getContentFromUrlThroughCurlAsArrayIfJson($fullURL, $features = null) |
|
117 | { |
|
118 | $result = $this->setJsonToArray($this->getContentFromUrlThroughCurl($fullURL, $features)); |
|
119 | if (isset($result['info'])) { |
|
120 | if (is_array($result['info'])) { |
|
121 | ksort($result['info']); |
|
122 | } |
|
123 | } |
|
124 | if (isset($result['response'])) { |
|
125 | if (is_array($result['response'])) { |
|
126 | ksort($result['response']); |
|
@@ 124-128 (lines=5) @@ | ||
121 | ksort($result['info']); |
|
122 | } |
|
123 | } |
|
124 | if (isset($result['response'])) { |
|
125 | if (is_array($result['response'])) { |
|
126 | ksort($result['response']); |
|
127 | } |
|
128 | } |
|
129 | return $result; |
|
130 | } |
|
131 |