@@ -135,7 +135,7 @@ discard block |
||
| 135 | 135 | } |
| 136 | 136 | |
| 137 | 137 | /** |
| 138 | - * @return \Requests_Response |
|
| 138 | + * @return boolean |
|
| 139 | 139 | * @throws \Requests_Exception |
| 140 | 140 | */ |
| 141 | 141 | protected function post() |
@@ -172,7 +172,7 @@ discard block |
||
| 172 | 172 | } |
| 173 | 173 | |
| 174 | 174 | /** |
| 175 | - * @return \Requests_Response |
|
| 175 | + * @return boolean |
|
| 176 | 176 | * @throws \Requests_Exception |
| 177 | 177 | */ |
| 178 | 178 | protected function get() |
@@ -204,6 +204,9 @@ discard block |
||
| 204 | 204 | * @param string |
| 205 | 205 | * @param string |
| 206 | 206 | * @param string |
| 207 | + * @param string $xmlPayload |
|
| 208 | + * @param string $logMessage |
|
| 209 | + * @param string $key |
|
| 207 | 210 | * @return self |
| 208 | 211 | */ |
| 209 | 212 | protected function logPayloadMessage($xmlPayload, $logMessage, $key) |
@@ -15,9 +15,6 @@ |
||
| 15 | 15 | |
| 16 | 16 | namespace eBayEnterprise\RetailOrderManagement\Api; |
| 17 | 17 | |
| 18 | -use Psr\Log\LoggerInterface; |
|
| 19 | -use Psr\Log\NullLogger; |
|
| 20 | - |
|
| 21 | 18 | /** |
| 22 | 19 | * Common logger utility methods. |
| 23 | 20 | * |
@@ -21,7 +21,6 @@ |
||
| 21 | 21 | use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator; |
| 22 | 22 | use eBayEnterprise\RetailOrderManagement\Payload\TPayload; |
| 23 | 23 | use Psr\Log\LoggerInterface; |
| 24 | -use Psr\Log\NullLogger; |
|
| 25 | 24 | |
| 26 | 25 | class InvoiceTextCode implements IInvoiceTextCode |
| 27 | 26 | { |
@@ -22,7 +22,6 @@ |
||
| 22 | 22 | use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory; |
| 23 | 23 | use eBayEnterprise\RetailOrderManagement\Payload\TIterablePayload; |
| 24 | 24 | use Psr\Log\LoggerInterface; |
| 25 | -use Psr\Log\NullLogger; |
|
| 26 | 25 | use SPLObjectStorage; |
| 27 | 26 | |
| 28 | 27 | class InvoiceTextCodeIterable extends SPLObjectStorage implements IInvoiceTextCodeIterable |
@@ -21,7 +21,6 @@ |
||
| 21 | 21 | use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator; |
| 22 | 22 | use eBayEnterprise\RetailOrderManagement\Payload\TPayload; |
| 23 | 23 | use Psr\Log\LoggerInterface; |
| 24 | -use Psr\Log\NullLogger; |
|
| 25 | 24 | |
| 26 | 25 | class MailingAddress implements IMailingAddress |
| 27 | 26 | { |
@@ -22,7 +22,6 @@ |
||
| 22 | 22 | use eBayEnterprise\RetailOrderManagement\Payload\Order\Tax as OrderTax; |
| 23 | 23 | use eBayEnterprise\RetailOrderManagement\Payload\PayloadFactory; |
| 24 | 24 | use Psr\Log\LoggerInterface; |
| 25 | -use Psr\Log\NullLogger; |
|
| 26 | 25 | |
| 27 | 26 | class Tax extends OrderTax implements ITax |
| 28 | 27 | { |
@@ -103,6 +103,7 @@ |
||
| 103 | 103 | * |
| 104 | 104 | * @param string |
| 105 | 105 | * @param string |
| 106 | + * @param string $name |
|
| 106 | 107 | * @return string |
| 107 | 108 | */ |
| 108 | 109 | abstract protected function serializeOptionalXmlEncodedValue($name, $value); |
@@ -179,6 +179,7 @@ |
||
| 179 | 179 | * encode the passed in string to be safe for xml if it is not null, |
| 180 | 180 | * otherwise simply return the null parameter. |
| 181 | 181 | * @param mixed $value |
| 182 | + * @param string $name |
|
| 182 | 183 | * @return string | null |
| 183 | 184 | */ |
| 184 | 185 | abstract protected function serializeOptionalXmlEncodedValue($name, $value); |
@@ -21,7 +21,6 @@ |
||
| 21 | 21 | use eBayEnterprise\RetailOrderManagement\Payload\IValidatorIterator; |
| 22 | 22 | use eBayEnterprise\RetailOrderManagement\Payload\TPayload; |
| 23 | 23 | use Psr\Log\LoggerInterface; |
| 24 | -use Psr\Log\NullLogger; |
|
| 25 | 24 | |
| 26 | 25 | class OrderSearch implements IOrderSearch |
| 27 | 26 | { |