Completed
Push — master ( dfec85...be4840 )
by Peter
02:18
created
src/Betfair.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Api/Betting.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
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' ])) {
Please login to merge, or discard this patch.