Skip to content

Commit 4a616f1

Browse files
committed
Merge branch '4.3' into 4.4
* 4.3: Changing my e-mail Fix Doctrine Entity Listeners event class
2 parents cb879ee + 12a8c2a commit 4a616f1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

contributing/code_of_conduct/care_team.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

doctrine/events.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy