@@ -30,11 +30,11 @@ |
||
| 30 | 30 | } |
| 31 | 31 | } |
| 32 | 32 | |
| 33 | - /** |
|
| 34 | - * @param null|DOMDocument $document |
|
| 35 | - * |
|
| 36 | - * @return DOMElement |
|
| 37 | - */ |
|
| 33 | + /** |
|
| 34 | + * @param null|DOMDocument $document |
|
| 35 | + * |
|
| 36 | + * @return DOMElement |
|
| 37 | + */ |
|
| 38 | 38 | public function toNode(DOMDocument $document = null) |
| 39 | 39 | { |
| 40 | 40 | if (null === $document) { |
@@ -205,15 +205,15 @@ |
||
| 205 | 205 | $trackRequest->appendChild($xml->createElement('ReferenceNumber'))->appendChild($xml->createElement('Value', $this->referenceNumber)); |
| 206 | 206 | } |
| 207 | 207 | |
| 208 | - if(null !== $this->shipperNumber) { |
|
| 208 | + if (null !== $this->shipperNumber) { |
|
| 209 | 209 | $trackRequest->appendChild($xml->createElement('ShipperNumber', $this->shipperNumber)); |
| 210 | 210 | } |
| 211 | 211 | |
| 212 | - if(null !== $this->beginDate) { |
|
| 212 | + if (null !== $this->beginDate) { |
|
| 213 | 213 | $trackRequest->appendChild($xml->createElement('BeginDate', $this->beginDate)); |
| 214 | 214 | } |
| 215 | 215 | |
| 216 | - if(null !== $this->endDate) { |
|
| 216 | + if (null !== $this->endDate) { |
|
| 217 | 217 | $trackRequest->appendChild($xml->createElement('EndDate', $this->endDate)); |
| 218 | 218 | } |
| 219 | 219 | |