Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f846fc6

Browse filesBrowse files
committed
Fix typo
1 parent efe4180 commit f846fc6
Copy full SHA for f846fc6

File tree

4 files changed

+5
-5
lines changed
Filter options

4 files changed

+5
-5
lines changed

‎src/Symfony/Component/Form/Console/Descriptor/JsonDescriptor.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Console/Descriptor/JsonDescriptor.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class JsonDescriptor extends Descriptor
2323
protected function describeDefaults(array $options = array())
2424
{
2525
$data['builtin_form_types'] = $this->getCoreTypes();
26-
$data['services_form_types'] = array_values(array_diff($options['types'], $data['builtin_form_types']));
26+
$data['service_form_types'] = array_values(array_diff($options['types'], $data['builtin_form_types']));
2727
$data['type_extensions'] = $options['extensions'];
2828
$data['type_guessers'] = $options['guessers'];
2929

‎src/Symfony/Component/Form/Console/Descriptor/TextDescriptor.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Console/Descriptor/TextDescriptor.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ protected function describeDefaults(array $options = array())
3131
$this->output->writeln(' '.implode(', ', array_slice($shortClassNames, $i * 5, 5)));
3232
}
3333

34-
$this->output->section('Services form types');
34+
$this->output->section('Service form types');
3535
$this->output->listing(array_diff($options['types'], $coreTypes));
3636

3737
$this->output->section('Type extensions');

‎src/Symfony/Component/Form/Tests/Fixtures/Descriptor/defaults_1.json

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Tests/Fixtures/Descriptor/defaults_1.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"Symfony\\Component\\Form\\Extension\\Core\\Type\\TimezoneType",
3434
"Symfony\\Component\\Form\\Extension\\Core\\Type\\UrlType"
3535
],
36-
"services_form_types": [
36+
"service_form_types": [
3737
"Symfony\\Bridge\\Doctrine\\Form\\Type\\EntityType"
3838
],
3939
"type_extensions": [

‎src/Symfony/Component/Form/Tests/Fixtures/Descriptor/defaults_1.txt

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Tests/Fixtures/Descriptor/defaults_1.txt
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
SearchType, SubmitType, TextType, TextareaType, TimeType
1111
TimezoneType, UrlType
1212

13-
Services form types
14-
-------------------
13+
Service form types
14+
------------------
1515

1616
* Symfony\Bridge\Doctrine\Form\Type\EntityType
1717

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.