dto icon indicating copy to clipboard operation
dto copied to clipboard

Improvements for PHP 8.1

Open SkibidiProduction opened this issue 2 years ago • 0 comments

As of PHP 8.1.0, a class which implements Serializable without also implementing __serialize() and __unserialize() will generate a deprecation warning.

Also return type of & Cerbero\Dto\Dto::offsetGet($property) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

SkibidiProduction avatar Apr 30 '22 07:04 SkibidiProduction