Passed
Push — main ( 3c8e81...a7674f )
by Daniel
13:23 queued 08:25
created
src/AttributeReader/AttributeReader.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -33,9 +33,9 @@  discard block
 block discarded – undo
33 33
         $this->initRegistry($managerRegistry);
34 34
     }
35 35
 
36
-    abstract public function getConfiguration(object|string $class);
36
+    abstract public function getConfiguration(object | string $class);
37 37
 
38
-    public function isConfigured(object|string $class): bool
38
+    public function isConfigured(object | string $class): bool
39 39
     {
40 40
         try {
41 41
             $this->getConfiguration($class);
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
         return true;
47 47
     }
48 48
 
49
-    private function resolveClassName(object|string|null $class): string
49
+    private function resolveClassName(object | string | null $class): string
50 50
     {
51 51
         $error = sprintf('$class passed to %s must be a valid class FQN or object.', __CLASS__);
52 52
         if (null === $class) {
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
     /**
68 68
      * @throws \ReflectionException
69 69
      */
70
-    protected function getClassAttributeConfiguration(object|string|null $class, string $annotationClass): ?object
70
+    protected function getClassAttributeConfiguration(object | string | null $class, string $annotationClass): ?object
71 71
     {
72 72
         $className = $this->resolveClassName($class);
73 73
         if (\array_key_exists($className, $this->configurationCache)) {
Please login to merge, or discard this patch.
src/DataProvider/StateProvider/PageDataMetadataStateProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
         $this->pageDataMetadataProvider = $pageDataMetadataProvider;
35 35
     }
36 36
 
37
-    public function provide(Operation $operation, array $uriVariables = [], array $context = []): object|array|null
37
+    public function provide(Operation $operation, array $uriVariables = [], array $context = []): object | array | null
38 38
     {
39 39
         if ($operation instanceof CollectionOperationInterface) {
40 40
             return $this->pageDataMetadataProvider->createAll();
Please login to merge, or discard this patch.
src/DataProvider/StateProvider/UserStateProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
         $this->requestStack = $requestStack;
34 34
     }
35 35
 
36
-    public function provide(Operation $operation, array $uriVariables = [], array $context = []): object|array|null
36
+    public function provide(Operation $operation, array $uriVariables = [], array $context = []): object | array | null
37 37
     {
38 38
         // is_a($resourceClass, AbstractUser::class, true)
39 39
         $request = $this->requestStack->getCurrentRequest();
Please login to merge, or discard this patch.
src/EventListener/Doctrine/PurgeHttpCacheListener.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     private array $resourceIris = [];
49 49
     private array $tags = [];
50 50
     private PropertyAccessor $propertyAccessor;
51
-    private ObjectRepository|EntityRepository $collectionRepository;
51
+    private ObjectRepository | EntityRepository $collectionRepository;
52 52
 
53 53
     public function __construct(PurgerInterface $purger, IriConverterInterface $iriConverter, ResourceClassResolverInterface $resourceClassResolver, ManagerRegistry $entityManager)
54 54
     {
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
             if (!\in_array($resourceIri, $this->resourceIris, true)) {
160 160
                 $this->resourceIris[] = $resourceIri;
161 161
             }
162
-        } catch (OperationNotFoundException|InvalidArgumentException $e) {
162
+        } catch (OperationNotFoundException | InvalidArgumentException $e) {
163 163
         }
164 164
     }
165 165
 
Please login to merge, or discard this patch.
src/DataProvider/StateProvider/RouteStateProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
         $this->defaultProvider = $defaultProvider;
35 35
     }
36 36
 
37
-    public function provide(Operation $operation, array $uriVariables = [], array $context = []): object|array|null
37
+    public function provide(Operation $operation, array $uriVariables = [], array $context = []): object | array | null
38 38
     {
39 39
         if ($operation instanceof CollectionOperationInterface) {
40 40
             return $this->defaultProvider->provide($operation->withProvider(CollectionProvider::class), $uriVariables, $context);
Please login to merge, or discard this patch.