GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Pull Request — master (#3)
by Ryan
07:32
created
eBayEnterprise/RetailOrderManagement/Payload/Order/Detail/ExchangeOrder.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -20,9 +20,7 @@
 block discarded – undo
20 20
 use eBayEnterprise\RetailOrderManagement\Payload\ISchemaValidator;
21 21
 use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator;
22 22
 use eBayEnterprise\RetailOrderManagement\Payload\TPayload;
23
-use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory;
24 23
 use Psr\Log\LoggerInterface;
25
-use Psr\Log\NullLogger;
26 24
 
27 25
 class ExchangeOrder implements IExchangeOrder
28 26
 {
Please login to merge, or discard this patch.
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.md.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- *
12
- * @copyright   Copyright (c) 2013-2015 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
- * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
- */
3
+     * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
+     *
5
+     * NOTICE OF LICENSE
6
+     *
7
+     * This source file is subject to the Open Software License (OSL 3.0)
8
+     * that is bundled with this package in the file LICENSE.md.
9
+     * It is also available through the world-wide-web at this URL:
10
+     * http://opensource.org/licenses/osl-3.0.php
11
+     *
12
+     * @copyright   Copyright (c) 2013-2015 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
+     * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
+     */
15 15
 
16 16
 namespace eBayEnterprise\RetailOrderManagement\Payload\Order\Detail;
17 17
 
Please login to merge, or discard this patch.
RetailOrderManagement/Payload/Order/Detail/ExchangeOrderIterable.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -19,10 +19,8 @@
 block discarded – undo
19 19
 use eBayEnterprise\RetailOrderManagement\Payload\IPayloadMap;
20 20
 use eBayEnterprise\RetailOrderManagement\Payload\ISchemaValidator;
21 21
 use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator;
22
-use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory;
23 22
 use eBayEnterprise\RetailOrderManagement\Payload\TIterablePayload;
24 23
 use Psr\Log\LoggerInterface;
25
-use Psr\Log\NullLogger;
26 24
 use SPLObjectStorage;
27 25
 
28 26
 class ExchangeOrderIterable extends SPLObjectStorage implements IExchangeOrderIterable
Please login to merge, or discard this patch.
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.md.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- *
12
- * @copyright   Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
- * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
- */
3
+     * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
+     *
5
+     * NOTICE OF LICENSE
6
+     *
7
+     * This source file is subject to the Open Software License (OSL 3.0)
8
+     * that is bundled with this package in the file LICENSE.md.
9
+     * It is also available through the world-wide-web at this URL:
10
+     * http://opensource.org/licenses/osl-3.0.php
11
+     *
12
+     * @copyright   Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
+     * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
+     */
15 15
 
16 16
 namespace eBayEnterprise\RetailOrderManagement\Payload\Order\Detail;
17 17
 
Please login to merge, or discard this patch.
RetailOrderManagement/Payload/Order/Detail/OrderDetailCustomer.php 3 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -21,9 +21,7 @@
 block discarded – undo
21 21
 use eBayEnterprise\RetailOrderManagement\Payload\ISchemaValidator;
22 22
 use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator;
23 23
 use eBayEnterprise\RetailOrderManagement\Payload\TPayload;
24
-use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory;
25 24
 use Psr\Log\LoggerInterface;
26
-use Psr\Log\NullLogger;
27 25
 
28 26
 class OrderDetailCustomer implements IOrderDetailCustomer
29 27
 {
Please login to merge, or discard this patch.
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.md.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- *
12
- * @copyright   Copyright (c) 2013-2015 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
- * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
- */
3
+     * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
+     *
5
+     * NOTICE OF LICENSE
6
+     *
7
+     * This source file is subject to the Open Software License (OSL 3.0)
8
+     * that is bundled with this package in the file LICENSE.md.
9
+     * It is also available through the world-wide-web at this URL:
10
+     * http://opensource.org/licenses/osl-3.0.php
11
+     *
12
+     * @copyright   Copyright (c) 2013-2015 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
+     * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
+     */
15 15
 
16 16
 namespace eBayEnterprise\RetailOrderManagement\Payload\Order\Detail;
17 17
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -199,6 +199,6 @@
 block discarded – undo
199 199
     protected function getRootAttributes()
200 200
     {
201 201
         $customerId = $this->getCustomerId();
202
-        return $customerId ? ['customerId' => $customerId] : [];
202
+        return $customerId ? [ 'customerId' => $customerId ] : [ ];
203 203
     }
204 204
 }
Please login to merge, or discard this patch.
RetailOrderManagement/Payload/Order/Detail/OrderDetailItem.php 4 patches
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -500,6 +500,8 @@
 block discarded – undo
500 500
      *
501 501
      * @param  string
502 502
      * @param  string
503
+     * @param string $nodeName
504
+     * @param string $value
503 505
      * @return string | null
504 506
      */
505 507
     protected function serializeCarrierValue($nodeName, $value)
Please login to merge, or discard this patch.
Unused Use Statements   -6 removed lines patch added patch discarded remove patch
@@ -16,18 +16,12 @@
 block discarded – undo
16 16
 namespace eBayEnterprise\RetailOrderManagement\Payload\Order\Detail;
17 17
 
18 18
 use DateTime;
19
-use DOMXPath;
20
-use eBayEnterprise\RetailOrderManagement\Payload\Exception\InvalidPayload;
21 19
 use eBayEnterprise\RetailOrderManagement\Payload\IPayload;
22 20
 use eBayEnterprise\RetailOrderManagement\Payload\IPayloadMap;
23 21
 use eBayEnterprise\RetailOrderManagement\Payload\ISchemaValidator;
24 22
 use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator;
25
-use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory;
26
-use eBayEnterprise\RetailOrderManagement\Payload\TIdentity;
27
-use eBayEnterprise\RetailOrderManagement\Payload\TPayload;
28 23
 use eBayEnterprise\RetailOrderManagement\Payload\Order\OrderItem;
29 24
 use Psr\Log\LoggerInterface;
30
-use Psr\Log\NullLogger;
31 25
 
32 26
 class OrderDetailItem extends OrderItem implements IOrderDetailItem
33 27
 {
Please login to merge, or discard this patch.
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.md.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- *
12
- * @copyright   Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
- * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
- */
3
+     * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
+     *
5
+     * NOTICE OF LICENSE
6
+     *
7
+     * This source file is subject to the Open Software License (OSL 3.0)
8
+     * that is bundled with this package in the file LICENSE.md.
9
+     * It is also available through the world-wide-web at this URL:
10
+     * http://opensource.org/licenses/osl-3.0.php
11
+     *
12
+     * @copyright   Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
+     * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
+     */
15 15
 
16 16
 namespace eBayEnterprise\RetailOrderManagement\Payload\Order\Detail;
17 17
 
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -418,10 +418,10 @@
 block discarded – undo
418 418
         $derivedFromOrderHeaderKey = $this->getDerivedFromOrderHeaderKey();
419 419
         return array_merge(
420 420
             parent::getRootAttributes(),
421
-            !empty($hasChainedLines) ? ['hasChainedLines' => $hasChainedLines] : [],
422
-            !empty($hasDerivedChild) ? ['hasDerivedChild' => $hasDerivedChild] : [],
423
-            $chainedFromOrderHeaderKey ? ['chainedFromOrderHeaderKey' => $chainedFromOrderHeaderKey] : [],
424
-            $derivedFromOrderHeaderKey ? ['derivedFromOrderHeaderKey' => $derivedFromOrderHeaderKey] : []
421
+            !empty($hasChainedLines) ? [ 'hasChainedLines' => $hasChainedLines ] : [ ],
422
+            !empty($hasDerivedChild) ? [ 'hasDerivedChild' => $hasDerivedChild ] : [ ],
423
+            $chainedFromOrderHeaderKey ? [ 'chainedFromOrderHeaderKey' => $chainedFromOrderHeaderKey ] : [ ],
424
+            $derivedFromOrderHeaderKey ? [ 'derivedFromOrderHeaderKey' => $derivedFromOrderHeaderKey ] : [ ]
425 425
         );
426 426
     }
427 427
 
Please login to merge, or discard this patch.
RetailOrderManagement/Payload/Order/Detail/OrderDetailItemIterable.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -19,10 +19,8 @@
 block discarded – undo
19 19
 use eBayEnterprise\RetailOrderManagement\Payload\IPayloadMap;
20 20
 use eBayEnterprise\RetailOrderManagement\Payload\ISchemaValidator;
21 21
 use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator;
22
-use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory;
23 22
 use eBayEnterprise\RetailOrderManagement\Payload\TIterablePayload;
24 23
 use Psr\Log\LoggerInterface;
25
-use Psr\Log\NullLogger;
26 24
 use SPLObjectStorage;
27 25
 
28 26
 class OrderDetailItemIterable extends SPLObjectStorage implements IOrderDetailItemIterable
Please login to merge, or discard this patch.
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.md.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- *
12
- * @copyright   Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
- * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
- */
3
+     * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
+     *
5
+     * NOTICE OF LICENSE
6
+     *
7
+     * This source file is subject to the Open Software License (OSL 3.0)
8
+     * that is bundled with this package in the file LICENSE.md.
9
+     * It is also available through the world-wide-web at this URL:
10
+     * http://opensource.org/licenses/osl-3.0.php
11
+     *
12
+     * @copyright   Copyright (c) 2013-2014 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
+     * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
+     */
15 15
 
16 16
 namespace eBayEnterprise\RetailOrderManagement\Payload\Order\Detail;
17 17
 
Please login to merge, or discard this patch.
RetailOrderManagement/Payload/Order/Detail/OrderDetailPayment.php 3 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -205,6 +205,7 @@
 block discarded – undo
205 205
      *
206 206
      * @param  string
207 207
      * @param  string
208
+     * @param string $nodeName
208 209
      * @return string | null
209 210
      */
210 211
     protected function serializeBillingAddressValue($nodeName)
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -20,10 +20,8 @@
 block discarded – undo
20 20
 use eBayEnterprise\RetailOrderManagement\Payload\ISchemaValidator;
21 21
 use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator;
22 22
 use eBayEnterprise\RetailOrderManagement\Payload\TPayload;
23
-use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory;
24 23
 use eBayEnterprise\RetailOrderManagement\Payload\Order\TPaymentContainer;
25 24
 use Psr\Log\LoggerInterface;
26
-use Psr\Log\NullLogger;
27 25
 
28 26
 class OrderDetailPayment implements IOrderDetailPayment
29 27
 {
Please login to merge, or discard this patch.
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.md.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- *
12
- * @copyright   Copyright (c) 2013-2015 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
- * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
- */
3
+     * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
+     *
5
+     * NOTICE OF LICENSE
6
+     *
7
+     * This source file is subject to the Open Software License (OSL 3.0)
8
+     * that is bundled with this package in the file LICENSE.md.
9
+     * It is also available through the world-wide-web at this URL:
10
+     * http://opensource.org/licenses/osl-3.0.php
11
+     *
12
+     * @copyright   Copyright (c) 2013-2015 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
+     * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
+     */
15 15
 
16 16
 namespace eBayEnterprise\RetailOrderManagement\Payload\Order\Detail;
17 17
 
Please login to merge, or discard this patch.
RetailOrderManagement/Payload/Order/Detail/OrderDetailRequest.php 3 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
22 22
 use eBayEnterprise\RetailOrderManagement\Payload\TTopLevelPayload;
23 23
 use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory;
24 24
 use Psr\Log\LoggerInterface;
25
-use Psr\Log\NullLogger;
26 25
 
27 26
 class OrderDetailRequest implements IOrderDetailRequest
28 27
 {
Please login to merge, or discard this patch.
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.md.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- *
12
- * @copyright   Copyright (c) 2013-2015 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
- * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
- */
3
+     * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
+     *
5
+     * NOTICE OF LICENSE
6
+     *
7
+     * This source file is subject to the Open Software License (OSL 3.0)
8
+     * that is bundled with this package in the file LICENSE.md.
9
+     * It is also available through the world-wide-web at this URL:
10
+     * http://opensource.org/licenses/osl-3.0.php
11
+     *
12
+     * @copyright   Copyright (c) 2013-2015 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
+     * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
+     */
15 15
 
16 16
 namespace eBayEnterprise\RetailOrderManagement\Payload\Order\Detail;
17 17
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -146,8 +146,8 @@
 block discarded – undo
146 146
     {
147 147
         $orderType = $this->getOrderType();
148 148
         return array_merge(
149
-            ['xmlns' => $this->getXmlNamespace()],
150
-            $orderType ? ['orderType' => $this->getOrderType()] : []
149
+            [ 'xmlns' => $this->getXmlNamespace() ],
150
+            $orderType ? [ 'orderType' => $this->getOrderType() ] : [ ]
151 151
         );
152 152
     }
153 153
 }
Please login to merge, or discard this patch.
RetailOrderManagement/Payload/Order/Detail/OrderDetailResponse.php 3 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -20,9 +20,7 @@
 block discarded – undo
20 20
 use eBayEnterprise\RetailOrderManagement\Payload\ISchemaValidator;
21 21
 use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator;
22 22
 use eBayEnterprise\RetailOrderManagement\Payload\TTopLevelPayload;
23
-use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory;
24 23
 use Psr\Log\LoggerInterface;
25
-use Psr\Log\NullLogger;
26 24
 
27 25
 class OrderDetailResponse implements IOrderDetailResponse
28 26
 {
Please login to merge, or discard this patch.
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.md.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- *
12
- * @copyright   Copyright (c) 2013-2015 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
- * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
- */
3
+     * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
+     *
5
+     * NOTICE OF LICENSE
6
+     *
7
+     * This source file is subject to the Open Software License (OSL 3.0)
8
+     * that is bundled with this package in the file LICENSE.md.
9
+     * It is also available through the world-wide-web at this URL:
10
+     * http://opensource.org/licenses/osl-3.0.php
11
+     *
12
+     * @copyright   Copyright (c) 2013-2015 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
+     * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
+     */
15 15
 
16 16
 namespace eBayEnterprise\RetailOrderManagement\Payload\Order\Detail;
17 17
 
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
         return $this->testType;
148 148
     }
149 149
 
150
-   /**
150
+    /**
151 151
      * @see IOrderDetailResponse::setTestType()
152 152
      * @codeCoverageIgnore
153 153
      */
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -240,9 +240,9 @@
 block discarded – undo
240 240
     {
241 241
         $testType = $this->getTestType();
242 242
         return array_merge(
243
-            ['xmlns' => $this->getXmlNamespace(), 'orderType' => $this->getOrderType()],
244
-            $testType ? ['testType' => $testType] : [],
245
-            ['cancellable' => $this->getCancellable()]
243
+            [ 'xmlns' => $this->getXmlNamespace(), 'orderType' => $this->getOrderType() ],
244
+            $testType ? [ 'testType' => $testType ] : [ ],
245
+            [ 'cancellable' => $this->getCancellable() ]
246 246
         );
247 247
     }
248 248
 }
Please login to merge, or discard this patch.
RetailOrderManagement/Payload/Order/Detail/OrderDetailShipping.php 2 patches
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -20,13 +20,9 @@
 block discarded – undo
20 20
 use eBayEnterprise\RetailOrderManagement\Payload\ISchemaValidator;
21 21
 use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator;
22 22
 use eBayEnterprise\RetailOrderManagement\Payload\TPayload;
23
-use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory;
24
-use eBayEnterprise\RetailOrderManagement\Payload\Order\IShipGroupIterable;
25
-use eBayEnterprise\RetailOrderManagement\Payload\Order\IDestinationIterable;
26 23
 use eBayEnterprise\RetailOrderManagement\Payload\Order\TShipGroupContainer;
27 24
 use eBayEnterprise\RetailOrderManagement\Payload\Checkout\TDestinationContainer;
28 25
 use Psr\Log\LoggerInterface;
29
-use Psr\Log\NullLogger;
30 26
 
31 27
 class OrderDetailShipping implements IOrderDetailShipping
32 28
 {
Please login to merge, or discard this patch.
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.md.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- *
12
- * @copyright   Copyright (c) 2013-2015 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
- * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
- */
3
+     * Copyright (c) 2013-2014 eBay Enterprise, Inc.
4
+     *
5
+     * NOTICE OF LICENSE
6
+     *
7
+     * This source file is subject to the Open Software License (OSL 3.0)
8
+     * that is bundled with this package in the file LICENSE.md.
9
+     * It is also available through the world-wide-web at this URL:
10
+     * http://opensource.org/licenses/osl-3.0.php
11
+     *
12
+     * @copyright   Copyright (c) 2013-2015 eBay Enterprise, Inc. (http://www.ebayenterprise.com/)
13
+     * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14
+     */
15 15
 
16 16
 namespace eBayEnterprise\RetailOrderManagement\Payload\Order\Detail;
17 17
 
Please login to merge, or discard this patch.