Commit fc6186c
committed
bug symfony#59145 [TypeInfo] Make
This PR was merged into the 7.2 branch.
Discussion
----------
[TypeInfo] Make `Type::nullable` method no-op on every nullable type
| Q | A
| ------------- | ---
| Branch? | 7.2
| Bug fix? | yes
| New feature? | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Issues | Fix symfony#59137
| License | MIT
Make `Type::nullable` method no-op on every nullable type, not only on `NullableType` types.
Commits
-------
640a8d5 [TypeInfo] Fix handle nullable with mixedType::nullable method no-op on every nullable type (mtarld)File tree
2 files changed
+4
-3
lines changed- src/Symfony/Component/TypeInfo
- Tests
2 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| 198 | + | |
198 | 199 | | |
199 | 200 | | |
200 | 201 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
333 | | - | |
| 333 | + | |
334 | 334 | | |
335 | | - | |
| 335 | + | |
336 | 336 | | |
337 | | - | |
| 337 | + | |
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
| |||
0 commit comments