Test Failed
Pull Request — main (#140)
by Daniel
13:37
created
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.