Commit 65eb3eb
committed
bug symfony#60956 [TypeInfo] Fix
This PR was squashed before being merged into the 7.3 branch.
Discussion
----------
[TypeInfo] Fix `Type::fromValue` incorrectly setting object type instead of enum
| Q | A
| ------------- | ---
| Branch? | 7.3
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Issues | Fix #...
| License | MIT
Tried to apply symfony#60820 (comment) comment, but found some failing cases
Commits
-------
a0cdd3f [TypeInfo] Fix `Type::fromValue` incorrectly setting object type instead of enumType::fromValue incorrectly setting object type instead of enum (norkunas)File tree
2 files changed
+3
-2
lines changed- src/Symfony/Component/TypeInfo
- Tests
2 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
| 257 | + | |
| 258 | + | |
257 | 259 | | |
258 | 260 | | |
259 | 261 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
| 415 | + | |
415 | 416 | | |
416 | 417 | | |
417 | 418 | | |
| |||
428 | 429 | | |
429 | 430 | | |
430 | 431 | | |
431 | | - | |
432 | | - | |
433 | 432 | | |
434 | 433 | | |
435 | 434 | | |
| |||
0 commit comments