[Form] Fix PHPDoc for FormConfigBuilder $dataClass argument

This commit is contained in:
Edi Modrić 2018-07-14 16:36:53 +02:00
parent 091f9ff386
commit 9854a26981

View File

@ -138,7 +138,7 @@ class FormConfigBuilder implements FormConfigBuilderInterface
private $data; private $data;
/** /**
* @var string * @var string|null
*/ */
private $dataClass; private $dataClass;
@ -181,7 +181,7 @@ class FormConfigBuilder implements FormConfigBuilderInterface
* Creates an empty form configuration. * Creates an empty form configuration.
* *
* @param string|int $name The form name * @param string|int $name The form name
* @param string $dataClass The class of the form's data * @param string|null $dataClass The class of the form's data
* @param EventDispatcherInterface $dispatcher The event dispatcher * @param EventDispatcherInterface $dispatcher The event dispatcher
* @param array $options The form options * @param array $options The form options
* *