8000 [Form] Fix PHPDoc for FormConfigBuilder $dataClass argument by emodric · Pull Request #27954 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Form] Fix PHPDoc for FormConfigBuilder $dataClass argument #27954

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 15, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Symfony/Component/Form/FormConfigBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class FormConfigBuilder implements FormConfigBuilderInterface
private $data;

/**
* @var string
* @var string|null
*/
private $dataClass;

Expand Down Expand Up @@ -181,7 +181,7 @@ class FormConfigBuilder implements FormConfigBuilderInterface
* Creates an empty form configuration.
*
* @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 array $options The form options
*
Expand Down
0