Skip to content

Commit

Permalink
Reverted BC break
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyholm committed Oct 23, 2019
1 parent 2a9a0f0 commit 7492367
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,11 @@ public function __construct(array $config = [])

/**
* @param string $method
* @param array $args
*
* @return Promise\PromiseInterface
*/
public function __call($method, array $args)
public function __call($method, $args)
{
if (count($args) < 1) {
throw new \InvalidArgumentException('Magic request methods require a URI and optional options array');
Expand Down

0 comments on commit 7492367

Please sign in to comment.