Commit 2d645ef
committed
bug symfony#58371 [PropertyInfo] Fix bigint extraction with type info (mtarld)
This PR was merged into the 7.1 branch.
Discussion
----------
[PropertyInfo] Fix bigint extraction with type info
| Q | A
| ------------- | ---
| Branch? | 7.1
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues |
| License | MIT
During an upmerge, an issue has been made, indeed:
```php
return [
new Type(Type::BUILTIN_TYPE_INT, $nullable),
new Type(Type::BUILTIN_TYPE_STRING, $nullable),
];
```
must be considered as an union and not a collection (ie: `Type::union` instead of `Type::collection`)
Commits
-------
4ce5d8e [PropertyInfo] Fix bigint extraction with type infoFile tree
2 files changed
+2
-2
lines changed- src/Symfony/Bridge/Doctrine
- PropertyInfo
- Tests/PropertyInfo
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
289 | | - | |
| 289 | + | |
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
| |||
0 commit comments