private function createResult(array $tokens, $requestMethod, $responseCode, array $content = null) {
        if($responseCode >= 400 && $responseCode < 600) return [];
        if ($requestMethod === HttpMethods::DELETE)     return [];
        $result = $requestMethod === HttpMethods::GET ? SelectResult::create($tokens, $content) : $content;
        krsort($result);

        return $result;
    }
private function createResult(array $tokens, $requestMethod, $responseCode, array $content = null) {
        if($responseCode >= 400 && $responseCode < 600) return [];
        if ($requestMethod === HttpMethods::DELETE)     return [];
        $result = $requestMethod === HttpMethods::GET ? SelectResult::create($tokens, $content) : $content;
        krsort($result);

        return $result;
    }
private function createResult ( array $ tokens , $ requestMethod , $ responseCode , array $ content = null ) { if ( $ responseCode >= 400 && $ responseCode < 600 ) return [ ] ; if ( $ requestMethod === HttpMethods :: DELETE ) return [ ] ; $ result = $ requestMethod === HttpMethods :: GET ? SelectResult :: create ( $ tokens , $ content ) : $ content ; krsort ( $ result ) ; return $ result ; }
returns the result

@param  array      $tokens
@param  array|null $content
@return array

@SuppressWarnings("PHPMD.StaticAccess")
returns the result