@@ -311,8 +311,9 @@ |
||
311 | 311 | */ |
312 | 312 | private function formatResponse(SimpleXMLElement $response) |
313 | 313 | { |
314 | - if($this->allowMultipleShipments) |
|
315 | - return $this->convertXmlObject($response); |
|
314 | + if($this->allowMultipleShipments) { |
|
315 | + return $this->convertXmlObject($response); |
|
316 | + } |
|
316 | 317 | |
317 | 318 | return $this->convertXmlObject($response->Shipment); |
318 | 319 | } |