Skip to content

Commit 75edc24

Browse 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

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
@@ -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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy