Skip to content

Commit 5005509

Browse files
committed
minor symfony#13920 [Doctrine] Fixed bad method name for example (francisbesset)
This PR was merged into the 4.4 branch. Discussion ---------- [Doctrine] Fixed bad method name for example This PR fix a bad method name in an example. Commits ------- b523dc0 [Doctrine] Fixed bad method name for example
2 parents b30d327 + b523dc0 commit 5005509

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doctrine/events.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ define a listener for the ``postUpdate`` Doctrine event::
239239
{
240240
// the entity listener methods receive two arguments:
241241
// the entity instance and the lifecycle event
242-
public function postUpdate(User $user, LifecycleEventArgs $event)
242+
public function checkUserChanges(User $user, LifecycleEventArgs $event)
243243
{
244244
// ... do something to notify the changes
245245
}

0 commit comments

Comments
 (0)