@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | */ |
| 66 | 66 | public function setName($name) |
| 67 | 67 | { |
| 68 | - $this->name = (string)$name; |
|
| 68 | + $this->name = (string) $name; |
|
| 69 | 69 | } |
| 70 | 70 | |
| 71 | 71 | /** |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | */ |
| 93 | 93 | public function setVisibility($visibility) |
| 94 | 94 | { |
| 95 | - $this->visibility = (string)$visibility; |
|
| 95 | + $this->visibility = (string) $visibility; |
|
| 96 | 96 | } |
| 97 | 97 | |
| 98 | 98 | /** |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | */ |
| 41 | 41 | private function setKey($key) |
| 42 | 42 | { |
| 43 | - $this->key = (string)($key ?: $this->getDefaultKey()); |
|
| 43 | + $this->key = (string) ($key ?: $this->getDefaultKey()); |
|
| 44 | 44 | } |
| 45 | 45 | |
| 46 | 46 | /** |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | */ |
| 57 | 57 | public function __toString() |
| 58 | 58 | { |
| 59 | - return (string)$this->getValue(); |
|
| 59 | + return (string) $this->getValue(); |
|
| 60 | 60 | } |
| 61 | 61 | |
| 62 | 62 | /** |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | */ |
| 47 | 47 | public function __toString() |
| 48 | 48 | { |
| 49 | - return (string)$this->getValue(); |
|
| 49 | + return (string) $this->getValue(); |
|
| 50 | 50 | } |
| 51 | 51 | |
| 52 | 52 | /** |
@@ -120,7 +120,7 @@ |
||
| 120 | 120 | |
| 121 | 121 | // catch generic errors |
| 122 | 122 | if (isset($xml['type']) && (string) $xml['type'] == 'TaxipostLocatorError') { |
| 123 | - throw new BpostTaxipostLocatorException((string) $xml->txt, (int)$xml->status); |
|
| 123 | + throw new BpostTaxipostLocatorException((string) $xml->txt, (int) $xml->status); |
|
| 124 | 124 | } |
| 125 | 125 | |
| 126 | 126 | // return |