@@ -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 | } |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | |
| 15 | 15 | $lists = [ 'listCompetitions', 'listCountries', 'listEvents', 'listEventTypes', 'listMarketTypes', 'listVenues', 'listMarketCatalogue' ]; |
| 16 | 16 | if (in_array($this->method, $lists) && empty($params[ 'filter' ])) { |
| 17 | - $params['filter'] = new \stdClass; |
|
| 17 | + $params[ 'filter' ] = new \stdClass; |
|
| 18 | 18 | } |
| 19 | 19 | |
| 20 | 20 | if ($this->method == 'listMarketCatalogue' && empty($params[ 'maxResults' ])) { |