@@ -42,7 +42,7 @@ |
||
| 42 | 42 | $this->propertyAccessor = PropertyAccess::createPropertyAccessor(); |
| 43 | 43 | } |
| 44 | 44 | |
| 45 | - public function normalize($object, $format = null, array $context = []): float|array|\ArrayObject|bool|int|string|null |
|
| 45 | + public function normalize($object, $format = null, array $context = []): float | array | \ArrayObject | bool | int | string | null |
|
| 46 | 46 | { |
| 47 | 47 | $context[self::ALREADY_CALLED][] = $this->propertyAccessor->getValue($object, 'id'); |
| 48 | 48 | $this->resourceMetadata->setCollection(true); |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | $this->resourceMetadata->isInit(); |
| 62 | 62 | } |
| 63 | 63 | |
| 64 | - public function normalize($object, $format = null, array $context = []): float|array|\ArrayObject|bool|int|string|null |
|
| 64 | + public function normalize($object, $format = null, array $context = []): float | array | \ArrayObject | bool | int | string | null |
|
| 65 | 65 | { |
| 66 | 66 | $context[self::ALREADY_CALLED][] = $this->propertyAccessor->getValue($object, 'id'); |
| 67 | 67 | $metadataContext = $context; |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | $this->propertyAccessor = PropertyAccess::createPropertyAccessor(); |
| 47 | 47 | } |
| 48 | 48 | |
| 49 | - public function normalize($object, $format = null, array $context = []): float|array|\ArrayObject|bool|int|string|null |
|
| 49 | + public function normalize($object, $format = null, array $context = []): float | array | \ArrayObject | bool | int | string | null |
|
| 50 | 50 | { |
| 51 | 51 | $context[self::ALREADY_CALLED][] = $this->propertyAccessor->getValue($object, 'id'); |
| 52 | 52 | $this->resourceMetadata->setPersisted($this->entityManager->contains($object)); |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | $this->propertyAccessor = PropertyAccess::createPropertyAccessor(); |
| 43 | 43 | } |
| 44 | 44 | |
| 45 | - public function normalize($object, $format = null, array $context = []): float|array|\ArrayObject|bool|int|string|null |
|
| 45 | + public function normalize($object, $format = null, array $context = []): float | array | \ArrayObject | bool | int | string | null |
|
| 46 | 46 | { |
| 47 | 47 | $context[self::ALREADY_CALLED][] = $this->propertyAccessor->getValue($object, 'id'); |
| 48 | 48 | $metadata = $this->pageDataMetadataFactory->create(\get_class($object)); |
@@ -67,7 +67,7 @@ |
||
| 67 | 67 | $this->propertyAccessor = PropertyAccess::createPropertyAccessor(); |
| 68 | 68 | } |
| 69 | 69 | |
| 70 | - public function normalize($object, $format = null, array $context = []): float|array|\ArrayObject|bool|int|string|null |
|
| 70 | + public function normalize($object, $format = null, array $context = []): float | array | \ArrayObject | bool | int | string | null |
|
| 71 | 71 | { |
| 72 | 72 | $context[self::ALREADY_CALLED][] = $this->propertyAccessor->getValue($object, 'id'); |
| 73 | 73 | |