private function setupVariables($body, $query, $headers)
    {
        if (is_null($headers)) {
            $headers = [];
        }
        if (is_null($query)) {
            $query = [];
        }
        if (is_null($body)) {
            $body = [];
        }

        return [$body, $query, $headers];
    }
private function setupVariables($body, $query, $headers)
    {
        if (is_null($headers)) {
            $headers = [];
        }
        if (is_null($query)) {
            $query = [];
        }
        if (is_null($body)) {
            $body = [];
        }

        return [$body, $query, $headers];
    }
private function setupVariables ( $ body , $ query , $ headers ) { if ( is_null ( $ headers ) ) { $ headers = [ ] ; } if ( is_null ( $ query ) ) { $ query = [ ] ; } if ( is_null ( $ body ) ) { $ body = [ ] ; } return [ $ body , $ query , $ headers ] ; }
Setup empty arrays if null given.

@param $body
@param $query
@param $headers

@return array
Setup empty arrays if null given .