@@ -96,6 +96,9 @@ |
||
96 | 96 | ); |
97 | 97 | } |
98 | 98 | |
99 | + /** |
|
100 | + * @param double[] $marketIds |
|
101 | + */ |
|
99 | 102 | public function withMarketIds($marketIds) |
100 | 103 | { |
101 | 104 | $this->marketIds = $marketIds; |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * This file is part of the Betfair library. |
|
4 | - * |
|
5 | - * (c) Daniele D'Angeli <[email protected]> |
|
6 | - * |
|
7 | - * For the full copyright and license information, please view the LICENSE |
|
8 | - * file that was distributed with this source code. |
|
9 | - */ |
|
3 | + * This file is part of the Betfair library. |
|
4 | + * |
|
5 | + * (c) Daniele D'Angeli <[email protected]> |
|
6 | + * |
|
7 | + * For the full copyright and license information, please view the LICENSE |
|
8 | + * file that was distributed with this source code. |
|
9 | + */ |
|
10 | 10 | namespace Betfair; |
11 | 11 | |
12 | 12 | use Betfair\AccountApi\AccountDetails; |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * This file is part of the Betfair library. |
|
4 | - * |
|
5 | - * (c) Daniele D'Angeli <[email protected]> |
|
6 | - * |
|
7 | - * For the full copyright and license information, please view the LICENSE |
|
8 | - * file that was distributed with this source code. |
|
9 | - */ |
|
3 | + * This file is part of the Betfair library. |
|
4 | + * |
|
5 | + * (c) Daniele D'Angeli <[email protected]> |
|
6 | + * |
|
7 | + * For the full copyright and license information, please view the LICENSE |
|
8 | + * file that was distributed with this source code. |
|
9 | + */ |
|
10 | 10 | namespace Betfair; |
11 | 11 | |
12 | 12 | /** |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * This file is part of the Betfair library. |
|
4 | - * |
|
5 | - * (c) Daniele D'Angeli <[email protected]> |
|
6 | - * |
|
7 | - * For the full copyright and license information, please view the LICENSE |
|
8 | - * file that was distributed with this source code. |
|
9 | - */ |
|
3 | + * This file is part of the Betfair library. |
|
4 | + * |
|
5 | + * (c) Daniele D'Angeli <[email protected]> |
|
6 | + * |
|
7 | + * For the full copyright and license information, please view the LICENSE |
|
8 | + * file that was distributed with this source code. |
|
9 | + */ |
|
10 | 10 | namespace Betfair\Exception; |
11 | 11 | |
12 | 12 | use Betfair\Exception; |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * This file is part of the Betfair library. |
|
4 | - * |
|
5 | - * (c) Daniele D'Angeli <[email protected]> |
|
6 | - * |
|
7 | - * For the full copyright and license information, please view the LICENSE |
|
8 | - * file that was distributed with this source code. |
|
9 | - */ |
|
3 | + * This file is part of the Betfair library. |
|
4 | + * |
|
5 | + * (c) Daniele D'Angeli <[email protected]> |
|
6 | + * |
|
7 | + * For the full copyright and license information, please view the LICENSE |
|
8 | + * file that was distributed with this source code. |
|
9 | + */ |
|
10 | 10 | namespace Betfair\Adapter; |
11 | 11 | |
12 | 12 | class ArrayAdapter implements AdapterInterface |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * This file is part of the Betfair library. |
|
4 | - * |
|
5 | - * (c) Daniele D'Angeli <[email protected]> |
|
6 | - * |
|
7 | - * For the full copyright and license information, please view the LICENSE |
|
8 | - * file that was distributed with this source code. |
|
9 | - */ |
|
3 | + * This file is part of the Betfair library. |
|
4 | + * |
|
5 | + * (c) Daniele D'Angeli <[email protected]> |
|
6 | + * |
|
7 | + * For the full copyright and license information, please view the LICENSE |
|
8 | + * file that was distributed with this source code. |
|
9 | + */ |
|
10 | 10 | namespace Betfair\Adapter; |
11 | 11 | |
12 | 12 | interface AdapterInterface |
@@ -1,12 +1,12 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * This file is part of the Betfair library. |
|
4 | - * |
|
5 | - * (c) Daniele D'Angeli <[email protected]> |
|
6 | - * |
|
7 | - * For the full copyright and license information, please view the LICENSE |
|
8 | - * file that was distributed with this source code. |
|
9 | - */ |
|
3 | + * This file is part of the Betfair library. |
|
4 | + * |
|
5 | + * (c) Daniele D'Angeli <[email protected]> |
|
6 | + * |
|
7 | + * For the full copyright and license information, please view the LICENSE |
|
8 | + * file that was distributed with this source code. |
|
9 | + */ |
|
10 | 10 | namespace Betfair\Adapter; |
11 | 11 | |
12 | 12 | class ArrayRpcAdapter implements AdapterInterface |
@@ -16,11 +16,11 @@ discard block |
||
16 | 16 | $data = json_decode($response, true); |
17 | 17 | |
18 | 18 | if (isset($data['result'])){ |
19 | - return $data['result']; |
|
19 | + return $data['result']; |
|
20 | 20 | } |
21 | 21 | |
22 | 22 | if (isset($data['error'])){ |
23 | - return $data['error']; |
|
23 | + return $data['error']; |
|
24 | 24 | } |
25 | 25 | } |
26 | 26 | } |
@@ -15,11 +15,11 @@ |
||
15 | 15 | { |
16 | 16 | $data = json_decode($response, true); |
17 | 17 | |
18 | - if (isset($data['result'])){ |
|
18 | + if (isset($data['result'])) { |
|
19 | 19 | return $data['result']; |
20 | 20 | } |
21 | 21 | |
22 | - if (isset($data['error'])){ |
|
22 | + if (isset($data['error'])) { |
|
23 | 23 | return $data['error']; |
24 | 24 | } |
25 | 25 | } |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * This file is part of the Betfair library. |
|
4 | - * |
|
5 | - * (c) Daniele D'Angeli <[email protected]> |
|
6 | - * |
|
7 | - * For the full copyright and license information, please view the LICENSE |
|
8 | - * file that was distributed with this source code. |
|
9 | - */ |
|
3 | + * This file is part of the Betfair library. |
|
4 | + * |
|
5 | + * (c) Daniele D'Angeli <[email protected]> |
|
6 | + * |
|
7 | + * For the full copyright and license information, please view the LICENSE |
|
8 | + * file that was distributed with this source code. |
|
9 | + */ |
|
10 | 10 | namespace Betfair\Adapter; |
11 | 11 | |
12 | 12 | class Adapter implements AdapterInterface |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * This file is part of the Betfair library. |
|
4 | - * |
|
5 | - * (c) Daniele D'Angeli <[email protected]> |
|
6 | - * |
|
7 | - * For the full copyright and license information, please view the LICENSE |
|
8 | - * file that was distributed with this source code. |
|
9 | - */ |
|
3 | + * This file is part of the Betfair library. |
|
4 | + * |
|
5 | + * (c) Daniele D'Angeli <[email protected]> |
|
6 | + * |
|
7 | + * For the full copyright and license information, please view the LICENSE |
|
8 | + * file that was distributed with this source code. |
|
9 | + */ |
|
10 | 10 | namespace Betfair\Adapter; |
11 | 11 | |
12 | 12 | class JsonRpcAdapter implements AdapterInterface |