Fix type of serialization groups#359
Conversation
loic425
commented
Jan 20, 2022
| Q | A |
|---|---|
| Bug fix? | yes |
| New feature? | no |
| BC breaks? | no |
| Deprecations? | |
| Related tickets | |
| License | MIT |
lchrusciel
left a comment
There was a problem hiding this comment.
Can we write super simple case for that to avoid issues in the future?
There's already a simple test.... But I don't even know how it keeps working with the wrong type. |
|
thats the worst type of bugs - you know, that tests should fail, but they are green :( |
Yes but the result is ok, even with the wrong type, I also test it manually 🗡️ |
|
@lchrusciel I think there is some "magic" somewhere :) |
|
It works... must be a bug (or feature) of PHP: https://3v4l.org/fOejp#v8.0.15 |
|
And although I only defined the |
|
Thanks, Loïc! 🥇 |
