@@ -28,7 +28,7 @@ |
||
| 28 | 28 | */ |
| 29 | 29 | class UploadAction |
| 30 | 30 | { |
| 31 | - public function __construct(private NormalizerInterface|PublishableNormalizer $publishableNormalizer) |
|
| 31 | + public function __construct(private NormalizerInterface | PublishableNormalizer $publishableNormalizer) |
|
| 32 | 32 | { |
| 33 | 33 | } |
| 34 | 34 | |
@@ -37,9 +37,9 @@ discard block |
||
| 37 | 37 | use DenormalizerAwareTrait; |
| 38 | 38 | use NormalizerAwareTrait; |
| 39 | 39 | |
| 40 | - private NormalizerInterface|SymfonyDataUriNormalizer $decorated; |
|
| 40 | + private NormalizerInterface | SymfonyDataUriNormalizer $decorated; |
|
| 41 | 41 | |
| 42 | - public function __construct(NormalizerInterface|SymfonyDataUriNormalizer $decorated) |
|
| 42 | + public function __construct(NormalizerInterface | SymfonyDataUriNormalizer $decorated) |
|
| 43 | 43 | { |
| 44 | 44 | $this->decorated = $decorated; |
| 45 | 45 | } |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | return $this->decorated->supportsDenormalization($data, $type, $format, $context); |
| 64 | 64 | } |
| 65 | 65 | |
| 66 | - public function normalize($object, $format = null, array $context = []): float|array|\ArrayObject|bool|int|string|null |
|
| 66 | + public function normalize($object, $format = null, array $context = []): float | array | \ArrayObject | bool | int | string | null |
|
| 67 | 67 | { |
| 68 | 68 | return $this->decorated->normalize($object, $format, $context); |
| 69 | 69 | } |
@@ -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 | |