8000 Update form_events.rst · symfony/symfony-docs@e96fda9 · GitHub
[go: up one dir, main page]

Skip to content

Commit e96fda9

Browse files
redstar504weaverryan
authored andcommitted
Update form_events.rst
EventSubscriberInterface::getSubscribedEvents() method is static.
1 parent f5c2602 commit e96fda9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/form/form_events.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ Event subscribers have different uses:
343343
344344
class AddEmailFieldListener implements EventSubscriberInterface
345345
{
346-
public function getSubscribedEvents()
346+
public static function getSubscribedEvents()
347347
{
348348
return array(
349349
FormEvents::PRE_SET_DATA => 'onPreSetData',

0 commit comments

Comments
 (0)
0