@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | { |
| 76 | 76 | $tagName = 'orderLine'; |
| 77 | 77 | if ($prefix !== null) { |
| 78 | - $tagName = $prefix . ':' . $tagName; |
|
| 78 | + $tagName = $prefix.':'.$tagName; |
|
| 79 | 79 | } |
| 80 | 80 | |
| 81 | 81 | $line = $document->createElement($tagName); |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | if ($this->getText() !== null) { |
| 84 | 84 | $tagName = 'text'; |
| 85 | 85 | if ($prefix !== null) { |
| 86 | - $tagName = $prefix . ':' . $tagName; |
|
| 86 | + $tagName = $prefix.':'.$tagName; |
|
| 87 | 87 | } |
| 88 | 88 | $line->appendChild( |
| 89 | 89 | $document->createElement( |
@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | if ($this->getNumberOfItems() !== null) { |
| 96 | 96 | $tagName = 'nbOfItems'; |
| 97 | 97 | if ($prefix !== null) { |
| 98 | - $tagName = $prefix . ':' . $tagName; |
|
| 98 | + $tagName = $prefix.':'.$tagName; |
|
| 99 | 99 | } |
| 100 | 100 | $line->appendChild( |
| 101 | 101 | $document->createElement( |
@@ -138,7 +138,7 @@ |
||
| 138 | 138 | { |
| 139 | 139 | $tagName = static::TAG_NAME; |
| 140 | 140 | if ($prefix !== null) { |
| 141 | - $tagName = $prefix . ':' . $tagName; |
|
| 141 | + $tagName = $prefix.':'.$tagName; |
|
| 142 | 142 | } |
| 143 | 143 | |
| 144 | 144 | $customer = $document->createElement($tagName); |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | public function getHeaders($asPdf) |
| 39 | 39 | { |
| 40 | 40 | return array( |
| 41 | - 'Accept: application/vnd.bpost.shm-label-' . ($asPdf ? 'pdf' : 'image') . '-v3+XML', |
|
| 41 | + 'Accept: application/vnd.bpost.shm-label-'.($asPdf ? 'pdf' : 'image').'-v3+XML', |
|
| 42 | 42 | 'Content-Type: application/vnd.bpost.shm-labelRequest-v3+XML', |
| 43 | 43 | ); |
| 44 | 44 | } |
@@ -50,6 +50,6 @@ discard block |
||
| 50 | 50 | */ |
| 51 | 51 | public function getUrl(LabelFormat $format, $withReturnLabels) |
| 52 | 52 | { |
| 53 | - return '/labels/' . $format->getValue() . ($withReturnLabels ? '/withReturnLabels' : ''); |
|
| 53 | + return '/labels/'.$format->getValue().($withReturnLabels ? '/withReturnLabels' : ''); |
|
| 54 | 54 | } |
| 55 | 55 | } |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | */ |
| 18 | 18 | public function __construct($message = "", $code = 0, \Exception $previous = null) |
| 19 | 19 | { |
| 20 | - $message = 'Invalid XML-response' . (empty($message) ? '' : ': ' . $message); |
|
| 20 | + $message = 'Invalid XML-response'.(empty($message) ? '' : ': '.$message); |
|
| 21 | 21 | parent::__construct($message, $code, $previous); |
| 22 | 22 | } |
| 23 | 23 | } |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | */ |
| 18 | 18 | public function __construct($message = "", $code = 0, \Exception $previous = null) |
| 19 | 19 | { |
| 20 | - $message = 'Invalid response' . (empty($message) ? '' : ': ' . $message); |
|
| 20 | + $message = 'Invalid response'.(empty($message) ? '' : ': '.$message); |
|
| 21 | 21 | parent::__construct($message, $code, $previous); |
| 22 | 22 | } |
| 23 | 23 | } |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | */ |
| 18 | 18 | public function __construct($message = "", $code = 0, \Exception $previous = null) |
| 19 | 19 | { |
| 20 | - $message = 'No reference found' . (empty($message) ? '' : ': ' . $message); |
|
| 20 | + $message = 'No reference found'.(empty($message) ? '' : ': '.$message); |
|
| 21 | 21 | parent::__construct($message, $code, $previous); |
| 22 | 22 | } |
| 23 | 23 | } |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | */ |
| 18 | 18 | public function __construct($message = "", $code = 0, \Exception $previous = null) |
| 19 | 19 | { |
| 20 | - $message = 'Invalid item' . (empty($message) ? '' : ': ' . $message); |
|
| 20 | + $message = 'Invalid item'.(empty($message) ? '' : ': '.$message); |
|
| 21 | 21 | parent::__construct($message, $code, $previous); |
| 22 | 22 | } |
| 23 | 23 | } |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | */ |
| 18 | 18 | public function __construct($message = "", $code = 0, \Exception $previous = null) |
| 19 | 19 | { |
| 20 | - $message = 'No UserId found' . (empty($message) ? '' : ': ' . $message); |
|
| 20 | + $message = 'No UserId found'.(empty($message) ? '' : ': '.$message); |
|
| 21 | 21 | parent::__construct($message, $code, $previous); |
| 22 | 22 | } |
| 23 | 23 | } |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | */ |
| 18 | 18 | public function __construct($message = "", $code = 0, \Exception $previous = null) |
| 19 | 19 | { |
| 20 | - $message = 'Not implemented' . (empty($message) ? '' : ': ' . $message); |
|
| 20 | + $message = 'Not implemented'.(empty($message) ? '' : ': '.$message); |
|
| 21 | 21 | parent::__construct($message, $code, $previous); |
| 22 | 22 | } |
| 23 | 23 | } |