Skip to content

Commit 18c4053

Browse files
committed
minor #5682 Fix grammar and CS (iamdto)
This PR was merged into the 2.3 branch. Discussion ---------- Fix grammar and CS | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | - Commits ------- 2c14b65 Fix grammar and CS
2 parents 404ed93 + 2c14b65 commit 18c4053

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cookbook/form/unit_testing.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ before creating the parent form using the ``PreloadedExtension`` class::
137137
protected function getExtensions()
138138
{
139139
$childType = new TestChildType();
140+
140141
return array(new PreloadedExtension(array(
141142
$childType->getName() => $childType,
142143
), array()));
@@ -165,7 +166,7 @@ It often happens that you use some options that are added by
165166
cases may be the ``ValidatorExtension`` with its ``invalid_message`` option.
166167
The ``TypeTestCase`` loads only the core form extension so an "Invalid option"
167168
exception will be raised if you try to use it for testing a class that depends
168-
on other extensions. You need add those extensions to the factory object::
169+
on other extensions. You need to add those extensions to the factory object::
169170

170171
// src/AppBundle/Tests/Form/Type/TestedTypeTests.php
171172
namespace AppBundle\Tests\Form\Type;

0 commit comments

Comments
 (0)