Passed
Push — main ( 6f7970...605cbe )
by Daniel
03:52
created
src/HttpCache/HttpCachePurger.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 
67 67
             // clear cache of anything containing this item
68 68
             $this->collectItem($entity);
69
-        } catch (OperationNotFoundException|InvalidArgumentException $e) {
69
+        } catch (OperationNotFoundException | InvalidArgumentException $e) {
70 70
         }
71 71
     }
72 72
 
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
         try {
76 76
             $iri = $this->iriConverter->getIriFromResource($item);
77 77
             $this->collectIri($iri);
78
-        } catch (InvalidArgumentException|RuntimeException $e) {
78
+        } catch (InvalidArgumentException | RuntimeException $e) {
79 79
         }
80 80
     }
81 81
 
Please login to merge, or discard this patch.
src/EventListener/Doctrine/DoctrineResourceFlushTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,8 +37,8 @@  discard block
 block discarded – undo
37 37
 trait DoctrineResourceFlushTrait
38 38
 {
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
 
43 43
     private \SplObjectStorage $updatedResources;
44 44
     private array $pageDataPropertiesChanged = [];
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
             try {
187 187
                 $collectionIri = $this->iriConverter->getIriFromResource($resource, UrlGeneratorInterface::ABS_PATH, (new GetCollection())->withClass($resourceClass));
188 188
                 $this->updatedCollectionClassToIriMapping[$resourceClass] = $collectionIri;
189
-            }catch (InvalidArgumentException $e) {}
189
+            } catch (InvalidArgumentException $e) {}
190 190
         }
191 191
 
192 192
         // keep a record of all the resources we are triggering updates for related from the database changes
Please login to merge, or discard this patch.