Started to move doctrine annotations to attributes (rector automated)

This commit is contained in:
Jan Böhmer 2023-05-28 01:33:45 +02:00
parent bb1285c35c
commit 0bc4699cdc
73 changed files with 483 additions and 604 deletions

View file

@ -44,11 +44,9 @@ class TreeCacheInvalidationListener
$this->keyGenerator = $keyGenerator;
}
/**
* @ORM\PostUpdate()
* @ORM\PostPersist()
* @ORM\PostRemove()
*/
#[ORM\PostUpdate]
#[ORM\PostPersist]
#[ORM\PostRemove]
public function invalidate(AbstractDBElement $element, LifecycleEventArgs $event): void
{
//If an element was changed, then invalidate all cached trees with this element class