@@ -66,7 +66,7 @@ discard block |
||
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 |
||
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 |
@@ -37,8 +37,8 @@ discard block |
||
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 |
||
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 |
@@ -186,7 +186,7 @@ |
||
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 |