Code Duplication    Length = 5-5 lines in 2 locations

source/CommonCode.php 2 locations

@@ 100-104 (lines=5) @@
97
    protected function getContentFromUrlThroughCurlAsArrayIfJson($fullURL, $features = null)
98
    {
99
        $result = $this->setJsonToArray($this->getContentFromUrlThroughCurl($fullURL, $features));
100
        if (isset($result['info'])) {
101
            if (is_array($result['info'])) {
102
                ksort($result['info']);
103
            }
104
        }
105
        if (isset($result['response'])) {
106
            if (is_array($result['response'])) {
107
                ksort($result['response']);
@@ 105-109 (lines=5) @@
102
                ksort($result['info']);
103
            }
104
        }
105
        if (isset($result['response'])) {
106
            if (is_array($result['response'])) {
107
                ksort($result['response']);
108
            }
109
        }
110
        return $result;
111
    }
112