@@ -185,7 +185,7 @@ discard block |
||
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 |
||
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 |
@@ -15,13 +15,13 @@ |
||
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(); |