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 (#25)
by Scott van
10:33
created
src/app/code/community/EbayEnterprise/Tax/Helper/Factory.php 4 patches
Doc Comments   +7 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,8 +34,7 @@  discard block
 block discarded – undo
34 34
      * @param int $taxSource Should be one of the tax record source consts.
35 35
      * @param int
36 36
      * @param int
37
-     * @param int|null $itemId Address level taxes may not have an associated item id.
38
-     * @param ITax $taxPayload|null SDK payload of tax data to use to populate the tax record.
37
+     * @param ITax $taxPayload SDK payload of tax data to use to populate the tax record.
39 38
      * @param array $recordData Tax record data to be set directly on the tax record. May be used in place of an ITax payload.
40 39
      * @return EbayEnterprise_Tax_Model_Record
41 40
      */
@@ -65,6 +64,8 @@  discard block
 block discarded – undo
65 64
      * @param int $taxSource Should be one of hte tax record source consts.
66 65
      * @param int
67 66
      * @param int
67
+     * @param integer $quoteId
68
+     * @param integer $addressId
68 69
      * @return EbayEnterprise_Tax_Model_Record[]
69 70
      */
70 71
     public function createTaxRecordsForTaxContainer(
@@ -128,6 +129,8 @@  discard block
 block discarded – undo
128 129
      * @param ITaxedDutyPriceGroup
129 130
      * @param int
130 131
      * @param int
132
+     * @param integer $itemId
133
+     * @param integer $addressId
131 134
      * @return EbayEnterprise_Tax_Model_Duty
132 135
      */
133 136
     public function createTaxDuty(
@@ -185,6 +188,8 @@  discard block
 block discarded – undo
185 188
      * @param Mage_Sales_Model_Quote_Item_Abstract
186 189
      * @param int
187 190
      * @param int
191
+     * @param integer $addressId
192
+     * @param integer $quoteId
188 193
      * @return EbayEnterprise_Tax_Model_Response_Parser_Item
189 194
      */
190 195
     public function createResponseItemParser(
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,6 +17,7 @@  discard block
 block discarded – undo
17 17
 use eBayEnterprise\RetailOrderManagement\Payload\TaxDutyFee\IDestinationIterable;
18 18
 use eBayEnterprise\RetailOrderManagement\Payload\TaxDutyFee\IOrderItemRequestIterable;
19 19
 use eBayEnterprise\RetailOrderManagement\Payload\TaxDutyFee\IShipGroupIterable;
20
+use eBayEnterprise\RetailOrderManagement\Payload\TaxDutyFee\ITaxContainer;
20 21
 use eBayEnterprise\RetailOrderManagement\Payload\TaxDutyFee\ITaxDutyFeeQuoteReply;
21 22
 use eBayEnterprise\RetailOrderManagement\Payload\TaxDutyFee\ITaxDutyFeeQuoteRequest;
22 23
 use eBayEnterprise\RetailOrderManagement\Payload\TaxDutyFee\ITaxedDutyPriceGroup;
@@ -24,7 +25,6 @@  discard block
 block discarded – undo
24 25
 use eBayEnterprise\RetailOrderManagement\Payload\TaxDutyFee\ITaxedFeeIterable;
25 26
 use eBayEnterprise\RetailOrderManagement\Payload\TaxDutyFee\ITaxedOrderItem;
26 27
 use eBayEnterprise\RetailOrderManagement\Payload\TaxDutyFee\ITaxedShipGroup;
27
-use eBayEnterprise\RetailOrderManagement\Payload\TaxDutyFee\ITaxContainer;
28 28
 
29 29
 class EbayEnterprise_Tax_Helper_Factory
30 30
 {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@
 block discarded – undo
154 154
     ) {
155 155
         return Mage::getModel(
156 156
             'ebayenterprise_tax/response_parser_quote',
157
-            ['tax_response' => $taxResponse, 'quote' => $quote,]
157
+            ['tax_response' => $taxResponse, 'quote' => $quote, ]
158 158
         );
159 159
     }
160 160
 
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
 class EbayEnterprise_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case
17 17
 {
Please login to merge, or discard this patch.
src/app/code/community/EbayEnterprise/Tax/Model/Collector.php 3 patches
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -73,6 +73,7 @@  discard block
 block discarded – undo
73 73
      * @param array
74 74
      * @param string
75 75
      * @param mixed
76
+     * @param string $key
76 77
      * @return mixed
77 78
      */
78 79
     protected function _nullCoalesce(array $arr, $key, $default)
@@ -110,6 +111,7 @@  discard block
 block discarded – undo
110 111
      * Set whether the last tax request made was successful.
111 112
      *
112 113
      * @param bool
114
+     * @param boolean $success
113 115
      * @return self
114 116
      */
115 117
     public function setTaxRequestSuccess($success)
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
     {
139 139
         return array_filter(
140 140
             $this->getTaxRecords(),
141
-            function ($record) use ($addressId) {
141
+            function($record) use ($addressId) {
142 142
                 return $record->getAddressId() === $addressId;
143 143
             }
144 144
         );
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
     {
155 155
         return array_filter(
156 156
             $this->getTaxRecords(),
157
-            function ($record) use ($itemId) {
157
+            function($record) use ($itemId) {
158 158
                 return $record->getItemId() === $itemId;
159 159
             }
160 160
         );
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
     {
211 211
         return array_filter(
212 212
             $this->getTaxDuties(),
213
-            function ($duty) use ($addressId) {
213
+            function($duty) use ($addressId) {
214 214
                 return $duty->getAddressId() === $addressId;
215 215
             }
216 216
         );
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
     {
249 249
         return array_filter(
250 250
             $this->getTaxFees(),
251
-            function ($fee) use ($itemId) {
251
+            function($fee) use ($itemId) {
252 252
                 return $fee->getItemId() === $itemId;
253 253
             }
254 254
         );
@@ -264,7 +264,7 @@  discard block
 block discarded – undo
264 264
     {
265 265
         return array_filter(
266 266
             $this->getTaxFees(),
267
-            function ($fee) use ($addressId) {
267
+            function($fee) use ($addressId) {
268 268
                 return $fee->getAddressId() === $addressId;
269 269
             }
270 270
         );
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
 class EbayEnterprise_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case
17 17
 {
Please login to merge, or discard this patch.
src/app/code/community/EbayEnterprise/Tax/Model/Fee.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -118,6 +118,7 @@
 block discarded – undo
118 118
 
119 119
     /**
120 120
      * @param string
121
+     * @param string $type
121 122
      * @return string
122 123
      */
123 124
     public function setType($type)
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
 class EbayEnterprise_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case
17 17
 {
Please login to merge, or discard this patch.
src/app/code/community/EbayEnterprise/Tax/Model/Order/Create/Order.php 2 patches
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,8 @@
 block discarded – undo
63 63
      * @param string
64 64
      * @param array
65 65
      * @param mixed
66
-     * @return mixed
66
+     * @param string $key
67
+     * @return EbayEnterprise_Tax_Model_Collector
67 68
      */
68 69
     protected function _nullCoalesce(array $arr, $key, $default)
69 70
     {
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
 class EbayEnterprise_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case
17 17
 {
Please login to merge, or discard this patch.
src/app/code/community/EbayEnterprise/Tax/Model/Order/Create/Orderitem.php 3 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,9 +13,9 @@
 block discarded – undo
13 13
  * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14 14
  */
15 15
 
16
+use eBayEnterprise\RetailOrderManagement\Payload\Order\IDiscountContainer;
16 17
 use eBayEnterprise\RetailOrderManagement\Payload\Order\IOrderItem;
17 18
 use eBayEnterprise\RetailOrderManagement\Payload\Order\ITaxContainer;
18
-use eBayEnterprise\RetailOrderManagement\Payload\Order\IDiscountContainer;
19 19
 
20 20
 /**
21 21
  * Adds Tax information to an OrderItem payload and its sub payloads.
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
             // immediate remediation.
248 248
             $feeTaxes = array_filter(
249 249
                 $feeTaxRecords,
250
-                function ($taxRecord) use ($feeId) {
250
+                function($taxRecord) use ($feeId) {
251 251
                     return $feeId && $feeId === $taxRecord->getFeeId();
252 252
                 }
253 253
             );
@@ -316,7 +316,7 @@  discard block
 block discarded – undo
316 316
             // now, at least, it should be a small enough data set to not demand
317 317
             // immediate remediation.
318 318
             $this->_addTaxRecordsToContainer(
319
-                array_filter($taxRecords, function ($taxRecord) use ($discountId) {
319
+                array_filter($taxRecords, function($taxRecord) use ($discountId) {
320 320
                     return $discountId && $taxRecord->getDiscountId() == $discountId;
321 321
                 }),
322 322
                 $discountPayload
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
 class EbayEnterprise_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case
17 17
 {
Please login to merge, or discard this patch.
src/app/code/community/EbayEnterprise/Tax/Model/Order/Create/Shipgroup.php 4 patches
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,6 +78,7 @@  discard block
 block discarded – undo
78 78
      * @param string
79 79
      * @param array
80 80
      * @param mixed
81
+     * @param string $key
81 82
      * @return mixed
82 83
      */
83 84
     protected function _nullCoalesce(array $arr, $key, $default)
@@ -134,7 +135,7 @@  discard block
 block discarded – undo
134 135
     /**
135 136
      * Get the tax container for address level gifting taxes.
136 137
      *
137
-     * @return ITaxContainer
138
+     * @return Payload\Order\ITaxIterable
138 139
      */
139 140
     protected function _getTaxContainer()
140 141
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
  */
15 15
 
16 16
 use eBayEnterprise\RetailOrderManagement\Payload\Order\IGifting;
17
-use eBayEnterprise\RetailOrderManagement\Payload\Order\ITax;
18 17
 
19 18
 /**
20 19
  * Adds Tax information to an OrderItem payload and its sub payloads.
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
         // gifting, and do not indicate a calculation error for the record.
125 125
         return array_filter(
126 126
             $this->_taxCollector->getTaxRecords(),
127
-            function ($record) use ($addressId) {
127
+            function($record) use ($addressId) {
128 128
                 return $record->getAddressId() === $addressId
129 129
                     && $record->getTaxSource() === EbayEnterprise_Tax_Model_Record::SOURCE_ADDRESS_GIFTING;
130 130
             }
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
 class EbayEnterprise_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case
17 17
 {
Please login to merge, or discard this patch.
src/app/code/community/EbayEnterprise/Tax/Model/Request/Builder/Address.php 3 patches
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -109,6 +109,7 @@  discard block
 block discarded – undo
109 109
      * @param string
110 110
      * @param array
111 111
      * @param mixed
112
+     * @param string $key
112 113
      * @return mixed
113 114
      */
114 115
     protected function _nullCoalesce(array $arr, $key, $default)
@@ -119,7 +120,7 @@  discard block
 block discarded – undo
119 120
     /**
120 121
      * Get the destination payload for the address.
121 122
      *
122
-     * @return IDestination|null
123
+     * @return IDestination
123 124
      */
124 125
     public function getDestinationPayload()
125 126
     {
@@ -129,7 +130,7 @@  discard block
 block discarded – undo
129 130
     /**
130 131
      * Get the ship group payload for the address.
131 132
      *
132
-     * @return IShipGroup|null
133
+     * @return IShipGroup
133 134
      */
134 135
     public function getShipGroupPayload()
135 136
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
  * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14 14
  */
15 15
 
16
-use eBayEnterprise\RetailOrderManagement\Payload\TaxDutyFee\IShipGroupIterable;
17 16
 use eBayEnterprise\RetailOrderManagement\Payload\TaxDutyFee\IDestinationIterable;
17
+use eBayEnterprise\RetailOrderManagement\Payload\TaxDutyFee\IShipGroupIterable;
18 18
 
19 19
 class EbayEnterprise_Tax_Model_Request_Builder_Address
20 20
 {
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
 class EbayEnterprise_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case
17 17
 {
Please login to merge, or discard this patch.
src/app/code/community/EbayEnterprise/Tax/Model/Request/Builder/Item.php 3 patches
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,6 +127,7 @@  discard block
 block discarded – undo
127 127
      * @param string
128 128
      * @param array
129 129
      * @param mixed
130
+     * @param string $key
130 131
      * @return mixed
131 132
      */
132 133
     protected function _nullCoalesce(array $arr, $key, $default)
@@ -137,7 +138,7 @@  discard block
 block discarded – undo
137 138
     /**
138 139
      * Get the order item payload for the item.
139 140
      *
140
-     * @return IOrderItemRequest|null
141
+     * @return IOrderItemRequest
141 142
      */
142 143
     public function getOrderItemPayload()
143 144
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,9 +13,9 @@
 block discarded – undo
13 13
  * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14 14
  */
15 15
 
16
+use eBayEnterprise\RetailOrderManagement\Payload\TaxDutyFee\IDiscountContainer;
16 17
 use eBayEnterprise\RetailOrderManagement\Payload\TaxDutyFee\IOrderItemRequest;
17 18
 use eBayEnterprise\RetailOrderManagement\Payload\TaxDutyFee\IOrderItemRequestIterable;
18
-use eBayEnterprise\RetailOrderManagement\Payload\TaxDutyFee\IDiscountContainer;
19 19
 
20 20
 class EbayEnterprise_Tax_Model_Request_Builder_Item
21 21
 {
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
 class EbayEnterprise_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case
17 17
 {
Please login to merge, or discard this patch.
src/app/code/community/EbayEnterprise/Tax/Model/Response/Parser/Address.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
      * nearly identical steps from being repeated for each item for each type of
90 90
      * tax data.
91 91
      *
92
-     * @return EbayEnterprise_Tax_Model_Record[]
92
+     * @return EbayEnterprise_Tax_Model_Response_Parser_Address
93 93
      */
94 94
     protected function _extractTaxData()
95 95
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
  * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
14 14
  */
15 15
 
16
-use eBayEnterprise\RetailOrderManagement\Payload\TaxDutyFee\ITaxedShipGroup;
17 16
 use eBayEnterprise\RetailOrderManagement\Payload\TaxDutyFee\ITaxedOrderItem;
17
+use eBayEnterprise\RetailOrderManagement\Payload\TaxDutyFee\ITaxedShipGroup;
18 18
 
19 19
 class EbayEnterprise_Tax_Model_Response_Parser_Address extends EbayEnterprise_Tax_Model_Response_Parser_Abstract
20 20
 {
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
 class EbayEnterprise_Tax_Test_Model_Total_Quote_Address_TaxTest extends EcomDev_PHPUnit_Test_Case
17 17
 {
Please login to merge, or discard this patch.