Closed henzeb closed 2 years ago
These changes are not enough to get things working on PHP 8.1.
https://github.com/laravel/serializable-closure is a good replacement for the legacy stream of this package.
They do not implement the serialize helper functions. Which is the implementation I need.
Also, it does for me for the enums. That is enough for me.
I know version 4 is supporting 8.1 and may support enums. But it is still not yet released while php 8.1 was released in November last year.
This PR will support native enums, without breaking functionality in older PHP versions.