@@ -28,7 +28,7 @@ |
||
28 | 28 | // all other subsystems, currently Betting and Account |
29 | 29 | $class = 'PeterColes\\Betfair\\Api\\'.ucfirst($method); |
30 | 30 | if (class_exists($class)) { |
31 | - return call_user_func([new $class, 'execute'], $params); |
|
31 | + return call_user_func([ new $class, 'execute' ], $params); |
|
32 | 32 | } |
33 | 33 | } |
34 | 34 | } |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use GuzzleHttp\Client as GuzzleClient; |
7 | 7 | use Psr\Http\Message\ResponseInterface; |
8 | 8 | use PeterColes\Betfair\Api\Auth; |
9 | -use stdClass; |
|
10 | 9 | |
11 | 10 | class Client |
12 | 11 | { |
@@ -41,7 +41,7 @@ |
||
41 | 41 | ]; |
42 | 42 | |
43 | 43 | if (in_array($this->method, $lists) && empty($this->params[ 'filter' ])) { |
44 | - $this->params['filter'] = new \stdClass; |
|
44 | + $this->params[ 'filter' ] = new \stdClass; |
|
45 | 45 | } |
46 | 46 | } |
47 | 47 |