Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 75edc24

Browse filesBrowse files
Valentinwouterj
authored andcommitted
[Form] Fix syntax error in code snippet
| Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 3.0, 2.8
1 parent 172b72b commit 75edc24
Copy full SHA for 75edc24

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎components/form/form_events.rst

Copy file name to clipboardExpand all lines: components/form/form_events.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ Creating and binding an event listener to the form is very easy::
306306
// If the data was submitted previously, the additional value that is
307307
// included in the request variables needs to be removed.
308308
if (true === $user['show_email']) {
309-
$form->add('email', EmailType::class
309+
$form->add('email', EmailType::class);
310310
} else {
311311
unset($user['email']);
312312
$event->setData($user);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.