Skip to content

[Doctrine] Fix 2 small grammar errors #20639

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 10, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doctrine/events.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Doctrine Events

`Doctrine`_, the set of PHP libraries used by Symfony to work with databases,
provides a lightweight event system to update entities during the application
execution. These events, called `lifecycle events`_, allow to perform tasks such
execution. These events, called `lifecycle events`_, allow performing tasks such
as *"update the createdAt property automatically right before persisting entities
of this type"*.

Expand All @@ -24,7 +24,7 @@ There are different ways to listen to these Doctrine events:
methods are called for all entities, not only those of a certain type. They are
ideal to **share event logic between entities**.

The performance of each type of listener depends on how many entities applies to:
The performance of each type of listener depends on how many entities it applies to:
lifecycle callbacks are faster than entity listeners, which in turn are faster
than lifecycle listeners.

Expand Down