Passed
Push — master ( 82ef3a...4c8f14 )
by Florian
02:33
created
src/Entity/Traits/ContactInformationTrait.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -200,16 +200,16 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Controller/EventController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.