Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Update event_listeners.rst #220
base: 5.x
Are you sure you want to change the base?
Update event_listeners.rst #220
Changes from 1 commit
5e1cbf6
f32a467
c922ada
4a74023
7ff4576
5bb7f44
9c985f5
3b3c32b
e36ad8c
85d9f27
46f4ed4
4606a23
41be9fe
49426d7
25e62ff
4b19aa8
c7152fa
94f0436
8bb8401
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 4 in docs/plugins/event_listeners.rst
GitHub Actions / prose
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A little bit more modern PHP:
Check failure on line 57 in docs/plugins/event_listeners.rst
GitHub Actions / prose
Check warning on line 59 in docs/plugins/event_listeners.rst
GitHub Actions / prose
Check warning on line 61 in docs/plugins/event_listeners.rst
GitHub Actions / prose
Check failure on line 61 in docs/plugins/event_listeners.rst
GitHub Actions / prose
Check failure on line 61 in docs/plugins/event_listeners.rst
GitHub Actions / prose
Check warning on line 61 in docs/plugins/event_listeners.rst
GitHub Actions / prose
Check warning on line 61 in docs/plugins/event_listeners.rst
GitHub Actions / prose
Check failure on line 61 in docs/plugins/event_listeners.rst
GitHub Actions / prose
Check warning on line 61 in docs/plugins/event_listeners.rst
GitHub Actions / prose
Check warning on line 61 in docs/plugins/event_listeners.rst
GitHub Actions / prose
Check failure on line 61 in docs/plugins/event_listeners.rst
GitHub Actions / prose
Check warning on line 61 in docs/plugins/event_listeners.rst
GitHub Actions / prose
Check warning on line 63 in docs/plugins/event_listeners.rst
GitHub Actions / prose
Check warning on line 65 in docs/plugins/event_listeners.rst
GitHub Actions / prose
Check failure on line 65 in docs/plugins/event_listeners.rst
GitHub Actions / prose
Check failure on line 69 in docs/plugins/event_listeners.rst
GitHub Actions / prose
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment says the same thing as the class itself so it's not necessary
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Modern PHP with types and updated Symfony namespace for Symfony 5+