Completed
Pull Request — master (#239)
by Luc
04:41
created
src/Organizer/Events/AbstractLabelEvent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     public function serialize()
49 49
     {
50 50
         return parent::serialize() + [
51
-            'label' => (string) $this->label
51
+            'label' => (string)$this->label
52 52
         ];
53 53
     }
54 54
 }
Please login to merge, or discard this patch.
src/Organizer/OrganizerLDProjector.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
             $organizerCreated->getOrganizerId()
134 134
         );
135 135
 
136
-        $jsonLD->url = (string) $organizerCreated->getWebsite();
136
+        $jsonLD->url = (string)$organizerCreated->getWebsite();
137 137
         $jsonLD->name = $organizerCreated->getTitle();
138 138
 
139 139
         $recordedOn = $domainMessage->getRecordedOn()->toString();
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
         $labelsProperty = $labelAdded->getLabel()->isVisible() ? 'labels' : 'hiddenLabels';
227 227
 
228 228
         $labels = isset($jsonLD->{$labelsProperty}) ? $jsonLD->{$labelsProperty} : [];
229
-        $label = (string) $labelAdded->getLabel();
229
+        $label = (string)$labelAdded->getLabel();
230 230
 
231 231
         $labels[] = $label;
232 232
         $jsonLD->{$labelsProperty} = array_unique($labels);
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
         if (isset($jsonLD->{$labelsProperty}) && is_array($jsonLD->{$labelsProperty})) {
249 249
             $jsonLD->{$labelsProperty} = array_filter(
250 250
                 $jsonLD->{$labelsProperty},
251
-                function ($label) use ($labelRemoved) {
251
+                function($label) use ($labelRemoved) {
252 252
                     return !$labelRemoved->getLabel()->equals(
253 253
                         new Label($label)
254 254
                     );
Please login to merge, or discard this patch.
src/Organizer/DefaultOrganizerEditingService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
     public function addLabel($organizerId, Label $label)
86 86
     {
87 87
         $this->labelService->createLabelAggregateIfNew(
88
-            new LabelName((string) $label)
88
+            new LabelName((string)$label)
89 89
         );
90 90
 
91 91
         return $this->commandBus->dispatch(
Please login to merge, or discard this patch.
src/Organizer/Commands/AbstractLabelCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
      */
65 65
     public function getName()
66 66
     {
67
-        return new StringLiteral((string) $this->label);
67
+        return new StringLiteral((string)$this->label);
68 68
     }
69 69
 
70 70
     /**
Please login to merge, or discard this patch.