Completed
Push — master ( 0e1155...c9e2d7 )
by Kristof
11s
created
src/Label/ReadModels/Relations/Projector.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
 
186 186
         foreach ($labelCollection->asArray() as $label) {
187 187
             $this->writeRepository->save(
188
-                new LabelName((string) $label),
188
+                new LabelName((string)$label),
189 189
                 $relationType,
190 190
                 $relationId
191 191
             );
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
     {
201 201
         $labelRelation = null;
202 202
 
203
-        $labelName = new LabelName((string) $labelEvent->getLabel());
203
+        $labelName = new LabelName((string)$labelEvent->getLabel());
204 204
         $relationType = $this->offerTypeResolver->getRelationType($labelEvent);
205 205
         $relationId = new StringLiteral($labelEvent->getItemId());
206 206
 
Please login to merge, or discard this patch.
src/LabelImporter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,13 +15,13 @@
 block discarded – undo
15 15
         );
16 16
 
17 17
         $visibleLabels = $labelCollection->filter(
18
-            function (Label $label) {
18
+            function(Label $label) {
19 19
                 return $label->isVisible();
20 20
             }
21 21
         )->toStrings();
22 22
 
23 23
         $hiddenLabels = $labelCollection->filter(
24
-            function (Label $label) {
24
+            function(Label $label) {
25 25
                 return !$label->isVisible();
26 26
             }
27 27
         )->toStrings();
Please login to merge, or discard this patch.