/** * We override the default so we can pass arrays as well as strings. * @param string $param * @return array */ private function determineParam($param) { if (is_array($param)) { // If it's an array, we need to convert it to a string because of $param = '?' . http_build_query($param, '', '&'); } return parent::determineParam($param); }