Passed
Pull Request — master (#151)
by
unknown
05:33 queued 02:22
created
src/Request.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
             'endpointurl' => $this->getEndpointUrl(),
102 102
         ]);
103 103
 
104
-        $this->logger->debug('Request: ' . $this->getRequest(), [
104
+        $this->logger->debug('Request: '.$this->getRequest(), [
105 105
             'id' => $id,
106 106
             'endpointurl' => $this->getEndpointUrl(),
107 107
         ]);
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
             $response = $this->client->post(
111 111
                 $this->getEndpointUrl(),
112 112
                 [
113
-                    'body' => $this->getAccess() . $this->getRequest(),
113
+                    'body' => $this->getAccess().$this->getRequest(),
114 114
                     'headers' => [
115 115
                         'Content-type' => 'application/x-www-form-urlencoded; charset=utf-8',
116 116
                         'Accept-Charset' => 'UTF-8',
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
                 'endpointurl' => $this->getEndpointUrl(),
127 127
             ]);
128 128
 
129
-            $this->logger->debug('Response: ' . $body, [
129
+            $this->logger->debug('Response: '.$body, [
130 130
                 'id' => $id,
131 131
                 'endpointurl' => $this->getEndpointUrl(),
132 132
             ]);
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
 
142 142
                         return $responseInstance->setText($body)->setResponse($xml);
143 143
                     } elseif ($xml->Response->ResponseStatusCode == 0) {
144
-                        throw new InvalidResponseException('Failure: ' . $xml->Response->Error->ErrorDescription . ' (' . $xml->Response->Error->ErrorCode . ')');
144
+                        throw new InvalidResponseException('Failure: '.$xml->Response->Error->ErrorDescription.' ('.$xml->Response->Error->ErrorCode.')');
145 145
                     }
146 146
                 } else {
147 147
                     throw new InvalidResponseException('Failure: response is in an unexpected format.');
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
                 'endpointurl' => $this->getEndpointUrl(),
154 154
             ]);
155 155
 
156
-            throw new RequestException('Failure: ' . $e->getMessage());
156
+            throw new RequestException('Failure: '.$e->getMessage());
157 157
         }
158 158
     }
159 159
 
Please login to merge, or discard this patch.
src/Entity/BillShipper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     /**
36 36
      * @param null|DOMDocument $document
37 37
      *
38
-     * @return DOMElement
38
+     * @return \DOMElement
39 39
      */
40 40
     public function toNode(DOMDocument $document = null)
41 41
     {
Please login to merge, or discard this patch.
src/Entity/ShipmentCharge.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     /**
41 41
      * @param null|DOMDocument $document
42 42
      *
43
-     * @return DOMElement
43
+     * @return \DOMElement
44 44
      */
45 45
     public function toNode(DOMDocument $document = null)
46 46
     {
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
 
111 111
     /**
112 112
      * @param bool $consigneeBilled
113
-     * @return PaymentInformation
113
+     * @return ShipmentCharge
114 114
      */
115 115
     public function setConsigneeBilled($consigneeBilled)
116 116
     {
Please login to merge, or discard this patch.
src/Entity/ItemizedPaymentInformation.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     /**
36 36
      * @param null|DOMDocument $document
37 37
      *
38
-     * @return DOMElement
38
+     * @return \DOMElement
39 39
      */
40 40
     public function toNode(DOMDocument $document = null)
41 41
     {
Please login to merge, or discard this patch.