Skip to content

Commit d6b8fb1

Browse files
committed
minor symfony#10960 public access modifier for const (iliyaZelenko)
This PR was merged into the 4.2 branch. Discussion ---------- public access modifier for const <!-- 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 ------- bf3801e Update event_dispatcher.rst
2 parents 824caef + bf3801e commit d6b8fb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/event_dispatcher.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ order. Start by creating this custom event class and documenting it::
262262
*/
263263
class OrderPlacedEvent extends Event
264264
{
265-
const NAME = 'order.placed';
265+
public const NAME = 'order.placed';
266266

267267
protected $order;
268268

0 commit comments

Comments
 (0)