Skip to content

Commit

Permalink
Update LifeCycleEventsArgs due deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
mogilvie committed Jan 5, 2023
1 parent 0f89484 commit a6814ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Subscribers/DoctrineEncryptSubscriberInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace SpecShaper\EncryptBundle\Subscribers;

use Doctrine\Common\Annotations\Reader;
use Doctrine\ORM\Event\PostUpdateEventArgs;
use Doctrine\Persistence\Event\LifecycleEventArgs;
use Doctrine\ORM\Event\OnFlushEventArgs;
use Doctrine\ORM\Event\PostFlushEventArgs;
Expand Down Expand Up @@ -37,7 +38,7 @@ public function onFlush(OnFlushEventArgs $args): void;
* After we have persisted the entities, we want to have the
* decrypted information available once more.
*/
public function postUpdate(PostFlushEventArgs $args): void;
public function postUpdate(LifecycleEventArgs $args): void;

/**
* Listen a postLoad lifecycle event. Checking and decrypt entities
Expand Down

0 comments on commit a6814ac

Please sign in to comment.