Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f139e4c

Browse files
committed
Remove namespace in initializing, because there is a use statement
1 parent 2c33704 commit f139e4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/validation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ workflow looks like the following from inside a controller::
221221

222222
public function updateAction(Request $request)
223223
{
224-
$author = new Acme\BlogBundle\Entity\Author();
224+
$author = new Author();
225225
$form = $this->createForm(new AuthorType(), $author);
226226

227227
if ($request->getMethod() == 'POST') {

0 commit comments

Comments
 (0)