Skip to content

Commit de0fc44

Browse files
committed
[book][form] Fixing typo per @ivanrey
1 parent e687b74 commit de0fc44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/forms.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ of the ``$product`` object. This all happens via the ``bindRequest()`` method.
230230
$product = new Product();
231231
$product->name = 'Test product';
232232
233-
$product->bindRequest($this->get('request'), $product);
233+
$form->bindRequest($this->get('request'));
234234
echo $product->name;
235235
236236
The above statement will echo ``Foo``, because ``bindRequest`` ultimately

0 commit comments

Comments
 (0)