File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
contributing/code_of_conduct Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ of them at once by emailing **care@symfony.com**:
3131
3232* **Michelle Sanver **
3333
34- * *E-mail *: hello [at] michellesanver.com
34+ * *E-mail *: michelle [at] liip.ch
3535 * *Twitter *: `@michellesanver <https://twitter.com/michellesanver >`_
3636 * *SymfonyConnect *: `michellesanver <https://connect.symfony.com/profile/michellesanver >`_
3737
Original file line number Diff line number Diff line change @@ -233,13 +233,13 @@ define a listener for the ``postUpdate`` Doctrine event::
233233 namespace App\EventListener;
234234
235235 use App\Entity\User;
236- use Doctrine\ORM\ Event\PreUpdateEventArgs ;
236+ use Doctrine\Common\Persistence\ Event\LifecycleEventArgs ;
237237
238238 class UserChangedNotifier
239239 {
240240 // the entity listener methods receive two arguments:
241241 // the entity instance and the lifecycle event
242- public function postUpdate(User $user, PreUpdateEventArgs $event)
242+ public function postUpdate(User $user, LifecycleEventArgs $event)
243243 {
244244 // ... do something to notify the changes
245245 }
You can’t perform that action at this time.
0 commit comments