Passed
Push — main ( d99856...c81305 )
by Daniel
05:39
created
src/Serializer/Normalizer/DataUriNormalizer.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,9 +37,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
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.
src/Serializer/Normalizer/CollectionNormalizer.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.
src/Serializer/Normalizer/MetadataNormalizer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
         return !\in_array($id, $context[self::ALREADY_CALLED], true);
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
         $context[self::ALREADY_CALLED][] = $this->propertyAccessor->getValue($object, 'id');
69 69
         $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
@@ -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.
src/EventListener/Doctrine/DoctrineResourceFlushTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,8 +37,8 @@
 block discarded – undo
37 37
 {
38 38
     private array $pageDataPropertiesChanged = [];
39 39
     private PropertyAccessor $propertyAccessor;
40
-    private ObjectRepository|EntityRepository $collectionRepository;
41
-    private ObjectRepository|EntityRepository $positionRepository;
40
+    private ObjectRepository | EntityRepository $collectionRepository;
41
+    private ObjectRepository | EntityRepository $positionRepository;
42 42
     private array $resourceIris = [];
43 43
 
44 44
     public function __construct(
Please login to merge, or discard this patch.
src/HttpCache/HttpCachePurger.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
             $resourceClass = $this->resourceClassResolver->getResourceClass($entity);
45 45
             $resourceIri = $this->iriConverter->getIriFromResource($resourceClass, UrlGeneratorInterface::ABS_PATH, (new GetCollection())->withClass($resourceClass));
46 46
             $this->collectIri([$resourceIri]);
47
-        } catch (OperationNotFoundException|InvalidArgumentException $e) {
47
+        } catch (OperationNotFoundException | InvalidArgumentException $e) {
48 48
         }
49 49
     }
50 50
 
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
         try {
75 75
             $iri = $this->iriConverter->getIriFromResource($item);
76 76
             $this->collectIri([$iri]);
77
-        } catch (InvalidArgumentException|RuntimeException $e) {
77
+        } catch (InvalidArgumentException | RuntimeException $e) {
78 78
         }
79 79
     }
80 80
 
Please login to merge, or discard this patch.
src/Mercure/MercureResourcePublisher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -253,7 +253,7 @@
 block discarded – undo
253 253
     /**
254 254
      * @param string|string[] $iri
255 255
      */
256
-    private function buildUpdate(string|array $iri, string $data, array $options): Update
256
+    private function buildUpdate(string | array $iri, string $data, array $options): Update
257 257
     {
258 258
         return new Update($iri, $data, $options['private'] ?? false, $options['id'] ?? null, $options['type'] ?? null, $options['retry'] ?? null);
259 259
     }
Please login to merge, or discard this patch.