Skip to content

Commit 9854a26

Browse files
committed
[Form] Fix PHPDoc for FormConfigBuilder $dataClass argument
1 parent 091f9ff commit 9854a26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Form/FormConfigBuilder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ class FormConfigBuilder implements FormConfigBuilderInterface
138138
private $data;
139139

140140
/**
141-
* @var string
141+
* @var string|null
142142
*/
143143
private $dataClass;
144144

@@ -181,7 +181,7 @@ class FormConfigBuilder implements FormConfigBuilderInterface
181181
* Creates an empty form configuration.
182182
*
183183
* @param string|int $name The form name
184-
* @param string $dataClass The class of the form's data
184+
* @param string|null $dataClass The class of the form's data
185185
* @param EventDispatcherInterface $dispatcher The event dispatcher
186186
* @param array $options The form options
187187
*

0 commit comments

Comments
 (0)