@@ -9,7 +9,7 @@ |
||
9 | 9 | $class = 'PeterColes\\Betfair\\Api\\'.ucfirst($method); |
10 | 10 | |
11 | 11 | if ($method == 'init') { |
12 | - return new $class($params[0], $params[1], $params[2]); |
|
12 | + return new $class($params[ 0 ], $params[ 1 ], $params[ 2 ]); |
|
13 | 13 | } |
14 | 14 | |
15 | 15 | if (class_exists($class)) { |
@@ -72,7 +72,7 @@ |
||
72 | 72 | * @param array $headers |
73 | 73 | * @return Client |
74 | 74 | */ |
75 | - public function authHeaders(array $headers = []) |
|
75 | + public function authHeaders(array $headers = [ ]) |
|
76 | 76 | { |
77 | 77 | if (count($headers) == 0) { |
78 | 78 | $headers = [ 'X-Application' => Auth::$appKey, 'X-Authentication' => Auth::$sessionToken ]; |