Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
fixing http query parameters
Browse files Browse the repository at this point in the history
Zend\Stdlib\Parameters is not converted to PHP array in HHVM
  • Loading branch information
Greg Olson authored and Ocramius committed Nov 14, 2014
1 parent 6f51441 commit 3cec1b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ public function send(Request $request = null)

if (!empty($queryArray)) {
$newUri = $uri->toString();
$queryString = http_build_query($query, null, $this->getArgSeparator());
$queryString = http_build_query($queryArray, null, $this->getArgSeparator());

if ($this->config['rfc3986strict']) {
$queryString = str_replace('+', '%20', $queryString);
Expand Down

0 comments on commit 3cec1b8

Please sign in to comment.