Test Failed
Pull Request — master (#196)
by
unknown
05:30
created
src/Entity/Shipment.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -551,7 +551,7 @@
 block discarded – undo
551 551
     }
552 552
     
553 553
      /**
554
-     * @return ShipmentTotalWeight
554
+     * @return InvoiceLineTotal
555 555
      */
556 556
     public function getShipmentTotalWeight()
557 557
     {
Please login to merge, or discard this patch.
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -550,9 +550,9 @@
 block discarded – undo
550 550
         $this->deliveryTimeInformation = $deliveryTimeInformation;
551 551
     }
552 552
     
553
-     /**
554
-     * @return ShipmentTotalWeight
555
-     */
553
+        /**
554
+         * @return ShipmentTotalWeight
555
+         */
556 556
     public function getShipmentTotalWeight()
557 557
     {
558 558
         return $this->ShipmentTotalWeight;
Please login to merge, or discard this patch.
src/Entity/ShipmentTotalWeight.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
         $node = $document->createElement('ShipmentTotalWeight');
38 38
         if ($this->getUnitOfMeasurement()) {
39 39
             $node->appendChild($this->getUnitOfMeasurement()->toNode($document));
40
-           // $node->appendChild($document->createElement('UnitOfMeasurement', $this->getUnitOfMeasurement()));
40
+            // $node->appendChild($document->createElement('UnitOfMeasurement', $this->getUnitOfMeasurement()));
41 41
         }
42 42
 
43 43
         $node->appendChild($document->createElement('Weight', $this->getWeight()));
Please login to merge, or discard this patch.
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',
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
                 'id' => $id,
126 126
                 'endpointurl' => $this->getEndpointUrl(),
127 127
             ]);
128
-            $this->logger->debug('Response: ' . $body, [
128
+            $this->logger->debug('Response: '.$body, [
129 129
                 'id' => $id,
130 130
                 'endpointurl' => $this->getEndpointUrl(),
131 131
             ]);
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
 
141 141
                         return $responseInstance->setText($body)->setResponse($xml);
142 142
                     } elseif ($xml->Response->ResponseStatusCode == 0) {
143
-                        throw new InvalidResponseException('Failure: ' . $xml->Response->Error->ErrorDescription . ' (' . $xml->Response->Error->ErrorCode . ')');
143
+                        throw new InvalidResponseException('Failure: '.$xml->Response->Error->ErrorDescription.' ('.$xml->Response->Error->ErrorCode.')');
144 144
                     }
145 145
                 } else {
146 146
                     throw new InvalidResponseException('Failure: response is in an unexpected format.');
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
                 'endpointurl' => $this->getEndpointUrl(),
153 153
             ]);
154 154
 
155
-            throw new RequestException('Failure: ' . $e->getMessage());
155
+            throw new RequestException('Failure: '.$e->getMessage());
156 156
         }
157 157
     }
158 158
 
Please login to merge, or discard this patch.