Change return type of fromArray method to object
This commit is contained in:
parent
7272c1cf83
commit
5f06cc4e6e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue