Skip to content

Commit 48ceb34

Browse files
committed
Fixed comments in 87c0536
1 parent c8a4aa8 commit 48ceb34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cookbook/form/use_empty_data.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ you form. For example::
1111

1212
public function indexAction()
1313
{
14-
$blog = // ...
14+
$blog = ...;
1515

1616
// $blog is passed in as the data, so the empty_data option is not needed
1717
$form = $this->createForm(new BlogType(), $blog);
@@ -35,8 +35,8 @@ that takes arguments. Remember, the default ``data_class`` option calls
3535
that constructor with no arguments::
3636

3737
// src/Acme/DemoBundle/Form/Type/BlogType.php
38-
// ...
3938

39+
// ...
4040
use Symfony\Component\Form\AbstractType;
4141
use Acme\DemoBundle\Entity\Blog;
4242

0 commit comments

Comments
 (0)