Completed
Pull Request — master (#22)
by Simo
07:45
created
src/Betfair/BettingApi/MarketBook/MarketBook.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -96,6 +96,9 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Betfair/Betfair.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Betfair/Exception.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.
src/Betfair/Exception/BetfairLoginException.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Betfair/Adapter/ArrayAdapter.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Betfair/Adapter/AdapterInterface.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Betfair/Adapter/ArrayRpcAdapter.php 2 patches
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,11 +15,11 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Betfair/Adapter/Adapter.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Betfair/Adapter/JsonRpcAdapter.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
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
Please login to merge, or discard this patch.