From 5f06cc4e6ea61cf461e8566e905ccc0a29e4f316 Mon Sep 17 00:00:00 2001 From: netkas Date: Tue, 3 Sep 2024 11:38:17 -0400 Subject: [PATCH] Change return type of fromArray method to object --- src/Socialbox/Interfaces/SerializableInterface.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Socialbox/Interfaces/SerializableInterface.php b/src/Socialbox/Interfaces/SerializableInterface.php index 90b1c4f..936f9fa 100644 --- a/src/Socialbox/Interfaces/SerializableInterface.php +++ b/src/Socialbox/Interfaces/SerializableInterface.php @@ -16,5 +16,5 @@ interface SerializableInterface * * @param array $data The data to construct the object from. */ - public static function fromArray(array $data): static; + public static function fromArray(array $data): object; } \ No newline at end of file