Skip to content

Commit ad61f57

Browse files
committed
Merge branch '5.1'
* 5.1: Update form_collections.rst Fix typo in the docs
2 parents 48a0f3f + 29f7bce commit ad61f57

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

form/form_collections.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ it will receive an *unknown* number of tags. Otherwise, you'll see a
226226

227227
public function buildForm(FormBuilderInterface $builder, array $options)
228228
{
229-
$builder->add('description');
229+
// ...
230230

231231
$builder->add('tags', CollectionType::class, [
232232
'entry_type' => TagType::class,

testing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ Now you can use CSS selectors with the crawler. To assert that the phrase
213213
$this->assertSelectorTextContains('html h1.title', 'Hello World');
214214

215215
This assertion checks if the first element matching the CSS selector contains
216-
the given text. This asserts calls ``$crawler->filter('html h1.title')``
216+
the given text. This assert calls ``$crawler->filter('html h1.title')``
217217
internally, which allows you to use CSS selectors to filter any HTML element in
218218
the page and check for its existence, attributes, text, etc.
219219

0 commit comments

Comments
 (0)