@@ -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 | } |
@@ -72,7 +72,7 @@ |
||
| 72 | 72 | /** @var Registration[] $organizerRegistrations */ |
| 73 | 73 | $organizerRegistrations = []; |
| 74 | 74 | foreach ($registrations as $registration) { |
| 75 | - $key = $registration->getCreatedAt()->format('c').'_'.$registration->getId(); |
|
| 75 | + $key = $registration->getCreatedAt()->format('c') . '_' . $registration->getId(); |
|
| 76 | 76 | |
| 77 | 77 | if ($registration->getIsOrganizer()) { |
| 78 | 78 | $organizerRegistrations[$key] = $registration; |