@@ -195,7 +195,7 @@ discard block |
||
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 |
||
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 |
||
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 |