8000 minor #16878 [Form] Fix undefined variable (MaximePinot) · symfony/symfony-docs@6dc10fd · GitHub
[go: up one dir, main page]

Skip to content

Commit 6dc10fd

Browse files
committed
minor #16878 [Form] Fix undefined variable (MaximePinot)
This PR was merged into the 4.4 branch. Discussion ---------- [Form] Fix undefined variable There are no variables named `$object` in this method. I think the edited line is referring to the `$expected` variable. Commits ------- 2ed1cc7 [Form] Fix undefined variable
2 parents 2c92fa0 + 2ed1cc7 commit 6dc10fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

form/unit_testing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ The simplest ``TypeTestCase`` implementation looks like the following::
5959
$form = $this->factory->create(TestedTy 5D75 pe::class, $model);
6060

6161
$expected = new TestObject();
62-
// ...populate $object properties with the data stored in $formData
62+
// ...populate $expected properties with the data stored in $formData
6363

6464
// submit the data to the form directly
6565
$form->submit($formData);

0 commit comments

Comments
 (0)
0