Completed
Pull Request — master (#22)
by Simo
07:45
created
src/Betfair/Model/TimeRange.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\Model;
11 11
 
12 12
 class TimeRange extends BetfairSerializable
Please login to merge, or discard this patch.
src/Betfair/Model/Param.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\Model;
11 11
 
12 12
 class Param extends BetfairSerializable implements ParamInterface
Please login to merge, or discard this patch.
src/Betfair/Model/PlaceOrders/PlaceInstruction.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 
51 51
     private function validateOrderTypeOrThrowException($orderType)
52 52
     {
53
-        if(!in_array($orderType, OrderType::toArray())) {
53
+        if (!in_array($orderType, OrderType::toArray())) {
54 54
             throw new ModelException(
55 55
                 sprintf(
56 56
                     "Invalid Order Type %s. Valid ones are %s",
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     }
63 63
     private function validateSideOrThrowException($side)
64 64
     {
65
-        if(!in_array($side, Side::toArray())) {
65
+        if (!in_array($side, Side::toArray())) {
66 66
             throw new ModelException(
67 67
                 sprintf(
68 68
                     "Invalid Side %s. Valid ones are %s",
Please login to merge, or discard this patch.
src/Betfair/Model/PlaceOrders/LimitOrder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 
33 33
     private function setValidPersistenceType($persistenceType)
34 34
     {
35
-        if(!in_array($persistenceType, PersistenceType::toArray())) {
35
+        if (!in_array($persistenceType, PersistenceType::toArray())) {
36 36
             throw new ModelException(
37 37
                 sprintf("Not valid persistence type %s. Valid ones are %s",
38 38
                     $persistenceType,
Please login to merge, or discard this patch.
src/Betfair/Model/OrderStatus.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\Model;
11 11
 
12 12
 abstract class OrderStatus
Please login to merge, or discard this patch.
src/Betfair/Model/PriceData.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\Model;
11 11
 
12 12
 abstract class PriceData
Please login to merge, or discard this patch.
src/Betfair/Model/MarketBettingType.php 2 patches
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\Model;
11 11
 
12 12
 abstract class MarketBettingType
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -12,11 +12,11 @@
 block discarded – undo
12 12
 abstract class MarketBettingType
13 13
 {
14 14
 
15
-    const ODDS                       = "ODDS";  //Odds Market
16
-    const LINE                       = "LINE";  //Line Market
15
+    const ODDS                       = "ODDS"; //Odds Market
16
+    const LINE                       = "LINE"; //Line Market
17 17
     const RANGE                      = "RANGE"; //Range Market
18
-    const ASIAN_HANDICAP_DOUBLE_LINE = "ASIAN_HANDICAP_DOUBLE_LINE";    //Asian Handicap Market
19
-    const ASIAN_HANDICAP_SINGLE_LINE = "ASIAN_HANDICAP_SINGLE_LINE";    //Asian Single Line Market
18
+    const ASIAN_HANDICAP_DOUBLE_LINE = "ASIAN_HANDICAP_DOUBLE_LINE"; //Asian Handicap Market
19
+    const ASIAN_HANDICAP_SINGLE_LINE = "ASIAN_HANDICAP_SINGLE_LINE"; //Asian Single Line Market
20 20
     const FIXED_ODDS                 = "FIXED_ODDS";
21 21
     /**
22 22
      * Sportsbook Odds Market.
Please login to merge, or discard this patch.
src/Betfair/BettingApi/MarketCatalogue/MarketCatalogue.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\BettingApi\MarketCatalogue;
11 11
 
12 12
 use Betfair\AbstractBetfair;
Please login to merge, or discard this patch.
src/Betfair/BettingApi/Country/Country.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\BettingApi\Country;
11 11
 
12 12
 use Betfair\Adapter\AdapterInterface;
Please login to merge, or discard this patch.