|
@@ -101,7 +101,7 @@ discard block |
|
|
block discarded – undo |
|
101
|
101
|
return $data instanceof ComponentPosition && !isset($context[self::ALREADY_CALLED]); |
|
102
|
102
|
} |
|
103
|
103
|
|
|
104
|
|
- public function normalize($object, $format = null, array $context = []): float|array|\ArrayObject|bool|int|string|null |
|
|
104
|
+ public function normalize($object, $format = null, array $context = []): float | array | \ArrayObject | bool | int | string | null |
|
105
|
105
|
{ |
|
106
|
106
|
/* @var ComponentPosition $object */ |
|
107
|
107
|
/* @var mixed|null $format */ |
|
@@ -150,7 +150,7 @@ discard block |
|
|
block discarded – undo |
|
150
|
150
|
$propertyAccessor = PropertyAccess::createPropertyAccessor(); |
|
151
|
151
|
try { |
|
152
|
152
|
$component = $propertyAccessor->getValue($pageData, $object->pageDataProperty); |
|
153
|
|
- } catch (UnexpectedTypeException|NoSuchIndexException|NoSuchPropertyException $e) { |
|
|
153
|
+ } catch (UnexpectedTypeException | NoSuchIndexException | NoSuchPropertyException $e) { |
|
154
|
154
|
return $object; |
|
155
|
155
|
} |
|
156
|
156
|
|
Please login to merge, or discard this patch.