Change return type of fromArray method to object

This commit is contained in:
netkas 2024-09-03 11:38:17 -04:00
parent 7272c1cf83
commit 5f06cc4e6e

View file

@ -16,5 +16,5 @@ interface SerializableInterface
* *
* @param array $data The data to construct the object from. * @param array $data The data to construct the object from.
*/ */
public static function fromArray(array $data): static; public static function fromArray(array $data): object;
} }