Commit 8f04a56
committed
minor symfony#59441 [OptionResolver] Allow whitespace in types (VincentLanglet)
This PR was merged into the 7.3 branch.
Discussion
----------
[OptionResolver] Allow whitespace in types
| Q | A
| ------------- | ---
| Branch? | 7.3
| Bug fix? | no
| New feature? | yes
| Deprecations? | no
| Issues | Fix #...
| License | MIT
Since we're now supporting union of type, people might prefer to use whitespace when writing union of type like `int | string` rather than `int|string`. This might be interesting for complex type, and since the support is easy I think it's a good improvement.
Commits
-------
887757e Allow whitespace in typesFile tree
2 files changed
+13
-0
lines changed- src/Symfony/Component/OptionsResolver
- Tests
2 files changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1141 | 1141 | | |
1142 | 1142 | | |
1143 | 1143 | | |
| 1144 | + | |
1144 | 1145 | | |
1145 | 1146 | | |
1146 | 1147 | | |
| |||
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
790 | 790 | | |
791 | 791 | | |
792 | 792 | | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
793 | 805 | | |
794 | 806 | | |
795 | 807 | | |
| |||
0 commit comments