@@ -9,7 +9,6 @@ |
||
| 9 | 9 | use Psr\Log\LoggerInterface; |
| 10 | 10 | use Psr\Log\NullLogger; |
| 11 | 11 | use SimpleXMLElement; |
| 12 | -use Ups\Exception\InvalidResponseException; |
|
| 13 | 12 | use Ups\Exception\RequestException; |
| 14 | 13 | |
| 15 | 14 | class Request implements RequestInterface, LoggerAwareInterface |
@@ -616,7 +616,4 @@ |
||
| 616 | 616 | { |
| 617 | 617 | $this->declarationStatement = $statement; |
| 618 | 618 | |
| 619 | - return $this; |
|
| 620 | - } |
|
| 621 | ->>>>>>> develop |
|
| 622 | -} |
|
| 619 | + return $this |
|
| 623 | 620 | \ No newline at end of file |
@@ -616,7 +616,4 @@ |
||
| 616 | 616 | { |
| 617 | 617 | $this->declarationStatement = $statement; |
| 618 | 618 | |
| 619 | - return $this; |
|
| 620 | - } |
|
| 621 | ->>>>>>> develop |
|
| 622 | -} |
|
| 619 | + return $this |
|
| 623 | 620 | \ No newline at end of file |
@@ -178,10 +178,11 @@ |
||
| 178 | 178 | (int)$response->Response->Error->ErrorCode |
| 179 | 179 | ); |
| 180 | 180 | } |
| 181 | - if($response) |
|
| 182 | - return $this->formatResponse($response); |
|
| 183 | - else |
|
| 184 | - return $response; |
|
| 181 | + if($response) { |
|
| 182 | + return $this->formatResponse($response); |
|
| 183 | + } else { |
|
| 184 | + return $response; |
|
| 185 | + } |
|
| 185 | 186 | |
| 186 | 187 | } |
| 187 | 188 | |