Completed
Push — master ( 34b479...d7130a )
by Luc
15s
created
src/Label/ReadModels/Relations/Projector.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
 
196 196
         // Calculate the UDB2 imported labels.
197 197
         $udb3Labels = array_map(
198
-            function (LabelRelation $labelRelation) {
198
+            function(LabelRelation $labelRelation) {
199 199
                 return $labelRelation->getLabelName()->toNative();
200 200
             },
201 201
             $this->readRepository->getLabelRelationsForItem($relationId)
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
         // Only save the UDB2 labels, because the UDB3 labels are still present.
209 209
         foreach ($udb2Labels as $label) {
210 210
             $this->writeRepository->save(
211
-                new LabelName((string) $label),
211
+                new LabelName((string)$label),
212 212
                 $relationType,
213 213
                 $relationId,
214 214
                 true
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
     {
225 225
         $labelRelation = null;
226 226
 
227
-        $labelName = new LabelName((string) $labelEvent->getLabel());
227
+        $labelName = new LabelName((string)$labelEvent->getLabel());
228 228
         $relationType = $this->offerTypeResolver->getRelationType($labelEvent);
229 229
         $relationId = new StringLiteral($labelEvent->getItemId());
230 230
 
Please login to merge, or discard this patch.