Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Typo code block fix thansk to Marco in the comments!
  • Loading branch information
weaverryan committed Dec 18, 2014
1 parent 549e44a commit 0a5a3c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion knpu/episode2/form-type-class.rst
Expand Up @@ -89,7 +89,7 @@ Remove the builder code in our controller. Instead, replace it with a call to
$defaultUser = new User();
$defaultUser->setUsername('Foo');

$form = $this->createForm(new RegisterFormType(), $user);
$form = $this->createForm(new RegisterFormType(), $defaultUser);

// ...
}
Expand Down

0 comments on commit 0a5a3c5

Please sign in to comment.