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

Conversation

emodric
Copy link
Contributor
@emodric emodric commented Jul 14, 2018
Q A
Branch? 2.8
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets N/A
License MIT
Doc PR N/A

$dataClass constructor argument of FormConfigBuilder obviously allows null as its value and it even has a ?string typehint in master branch, so this fixes the PHPDoc typehint to match.

@fabpot
Copy link
Member
fabpot commented Jul 15, 2018

Thank you @emodric.

@fabpot fabpot merged commit 9854a26 into symfony:2.8 Jul 15, 2018
fabpot added a commit that referenced this pull request Jul 15, 2018
…ent (emodric)

This PR was merged into the 2.8 branch.

Discussion
----------

[Form] Fix PHPDoc for FormConfigBuilder $dataClass argument

| Q             | A
| ------------- | ---
| Branch?       | 2.8
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | N/A
| License       | MIT
| Doc PR        | N/A

`$dataClass` constructor argument of `FormConfigBuilder` obviously allows `null` as its value and it even has a `?string` typehint in `master` branch, so this fixes the PHPDoc typehint to match.

Commits
-------

9854a26 [Form] Fix PHPDoc for FormConfigBuilder $dataClass argument
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants
0