Allow returning self from ArraySerializable::fromArray()

This commit is contained in:
Giuseppe Criscione 2025-01-09 23:55:50 +01:00
parent cf02d3133c
commit 02f9dfc0c0

View File

@ -9,5 +9,5 @@ interface ArraySerializable extends Arrayable
* *
* @param array<mixed> $data * @param array<mixed> $data
*/ */
public static function fromArray(array $data): static; public static function fromArray(array $data): self;
} }