diff --git a/components/form/introduction.rst b/components/form/introduction.rst index 08137d1b3ca..d2c2189c7a6 100644 --- a/components/form/introduction.rst +++ b/components/form/introduction.rst @@ -526,7 +526,7 @@ by ``handleRequest()`` to determine whether a form has been submitted): public function searchAction() { - $formBuilder = $this->createFormBuilder('form', null, array( + $formBuilder = $this->createFormBuilder(null, array( 'action' => '/search', 'method' => 'GET', ));