Commit 53f3666
committed
minor #18727 Update typed property array => ArrayCollection to prevent errors (johanadivare)
This PR was merged into the 6.3 branch.
Discussion
----------
Update typed property array => ArrayCollection to prevent errors
When using strict type checking you could get errors like:
```
TypeError: Cannot assign Doctrine\Common\Collections\ArrayCollection to property App\Entity\Category::$products of type array
```
Commits
-------
01d76d3 Update typed property array => ArrayCollection to prevent errors1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
| 223 | + | |
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| |||
0 commit comments