Skip to content

Commit

Permalink
Merge branch 'master' into phpmd
Browse files Browse the repository at this point in the history
  • Loading branch information
typhonius authored Mar 22, 2020
2 parents 913fdc5 + 6716443 commit f99943a
Show file tree
Hide file tree
Showing 5 changed files with 503 additions and 446 deletions.
84 changes: 43 additions & 41 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion src/Connector/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@ public static function factory(ConnectorInterface $connector)
*/
public function request(string $verb, string $path, array $options = [])
{
$options = $this->options;
// @TODO follow this up by removing $options from the parameters able
// to be passed into this function and instead solely relying on the
// addOption() method as this can then be tested.
$options = $this->options + $options;
$options['query'] = $this->query;

if (!empty($options['query']['filter']) && is_array($options['query']['filter'])) {
Expand Down
Loading

0 comments on commit f99943a

Please sign in to comment.