@@ -62,6 +62,6 @@ |
||
62 | 62 | } |
63 | 63 | } |
64 | 64 | |
65 | - throw new \LogicException('Attribute '.$attribute.' unknown!'); |
|
65 | + throw new \LogicException('Attribute ' . $attribute . ' unknown!'); |
|
66 | 66 | } |
67 | 67 | } |
@@ -200,16 +200,16 @@ discard block |
||
200 | 200 | $res = explode("\n", $this->getStreetAddress()); |
201 | 201 | $prefix = ''; |
202 | 202 | if (mb_strlen($this->getCountry()) > 0) { |
203 | - $prefix = $this->getCountry().((mb_strlen($this->getPostalCode()) > 0) ? '-' : ' '); |
|
203 | + $prefix = $this->getCountry() . ((mb_strlen($this->getPostalCode()) > 0) ? '-' : ' '); |
|
204 | 204 | } |
205 | 205 | if (mb_strlen($this->getPostalCode()) > 0) { |
206 | - $prefix .= $this->getPostalCode().' '; |
|
206 | + $prefix .= $this->getPostalCode() . ' '; |
|
207 | 207 | } |
208 | 208 | if (mb_strlen($this->getLocality()) > 0) { |
209 | - $prefix .= $this->getLocality().' '; |
|
209 | + $prefix .= $this->getLocality() . ' '; |
|
210 | 210 | } |
211 | 211 | if (mb_strlen($this->getCanton()) > 0) { |
212 | - $prefix .= $this->getCanton().' '; |
|
212 | + $prefix .= $this->getCanton() . ' '; |
|
213 | 213 | } |
214 | 214 | $res[] = trim($prefix); |
215 | 215 | |
@@ -225,6 +225,6 @@ discard block |
||
225 | 225 | |
226 | 226 | public function getName() |
227 | 227 | { |
228 | - return $this->givenName.' '.$this->familyName; |
|
228 | + return $this->givenName . ' ' . $this->familyName; |
|
229 | 229 | } |
230 | 230 | } |