Test Failed
Pull Request — main (#149)
by Daniel
17:45
created
src/Serializer/Normalizer/CollectionNormalizer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Serializer/Normalizer/MetadataNormalizer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Serializer/Normalizer/PersistedNormalizer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
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));
Please login to merge, or discard this patch.
src/Serializer/Normalizer/PageDataNormalizer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
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));
Please login to merge, or discard this patch.
src/Serializer/Normalizer/PublishableNormalizer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.