Skip to content

Commit 418cebe

Browse files
committed
minor #13649 Fix wrong Symfony listeners range (BafS)
This PR was merged into the 4.4 branch. Discussion ---------- Fix wrong Symfony listeners range It seems to be between -256 and 256. For example: https://github.com/symfony/symfony/blob/master/src/Symfony/Component/HttpKernel/EventListener/ValidateRequestListener.php#L51 <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- 976f709 Fix wrong Symfony listeners range
2 parents a80feaf + 976f709 commit 418cebe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

event_dispatcher.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ listener class:
131131
and it controls the order in which listeners are executed (the higher the
132132
number, the earlier a listener is executed). This is useful when you need to
133133
guarantee that one listener is executed before another. The priorities of the
134-
internal Symfony listeners usually range from ``-255`` to ``255`` but your
134+
internal Symfony listeners usually range from ``-256`` to ``256`` but your
135135
own listeners can use any positive or negative integer.
136136

137137
.. _events-subscriber:

0 commit comments

Comments
 (0)