8000 [Form] Fix describing closures · enumag/symfony@005e75c · GitHub
[go: up one dir, main page]

Skip to content

Commit 005e75c

Browse files
author
Robin Chalas
committed
[Form] Fix describing closures
1 parent 5909a47 commit 005e75c

File tree

4 files changed

+0
-5
lines changed

4 files changed

+0
-5
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@ private function getDumpFunction()
188188
$prefix = Caster::PREFIX_VIRTUAL;
189189

190190
return [
191-
$prefix.'parameters' => isset($a[$prefix.'parameters']) ? \count($a[$prefix.'parameters']->value) : 0,
192191
$prefix.'file' => $a[$prefix.'file'],
193192
$prefix.'line' => $a[$prefix.'line'],
194193
];

src/Symfony/Component/Form/Tests/Fixtures/Descriptor/default_option_with_normalizer.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ Symfony\Component\Form\Extension\Core\Type\ChoiceType (choice_translation_domain
1616
Allowed values - %s
1717
---------------- --------------------%s
1818
Normalizer Closure%s{%w
19-
parameters: 2 %s
2019
file: "%s%eExtension%eCore%eType%eChoiceType.php"%w
2120
line: "%s to %s" %s
2221
} %s

src/Symfony/Component/Form/Tests/Fixtures/Descriptor/overridden_option_with_default_closures.txt

Lines changed: 0 additions & 2 deletions
19
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,10 @@ Symfony\Component\Form\Tests\Console\Descriptor\FooType (empty_data)
99
%s
1010
Closure(s): [ %s
1111
Closure%s{%w
12-
parameters: 1 %s
1312
file: "%s%eExtension%eCore%eType%eFormType.php"%w
1413
line: "%s to %s" %s
1514
}, %s
1615
Closure%s{%w
17-
parameters: 2 %s
1816
file: "%s%eTests%eConsole%eDescriptor%eAbstractDescriptorTest.php"%w
17
line: "%s to %s" %s
2018
} %s

src/Symfony/Component/Form/Tests/Fixtures/Descriptor/required_option_with_allowed_values.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ Symfony\Component\Form\Tests\Console\Descriptor\FooType (foo)
1717
] %s
1818
---------------- --------------------%s
1919
Normalizer Closure%s{%w
20-
parameters: 2 %s
2120
file: "%s%eTests%eConsole%eDescriptor%eAbstractDescriptorTest.php"%w
2221
line: "%s to %s" %s
2322
} %s

0 commit comments

Comments
 (0)
0