From 02f9dfc0c0a03b4382bca605c847abc17f0c5990 Mon Sep 17 00:00:00 2001 From: Giuseppe Criscione <18699708+giuscris@users.noreply.github.com> Date: Thu, 9 Jan 2025 23:55:50 +0100 Subject: [PATCH] Allow returning `self` from `ArraySerializable::fromArray()` --- formwork/src/Data/Contracts/ArraySerializable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/formwork/src/Data/Contracts/ArraySerializable.php b/formwork/src/Data/Contracts/ArraySerializable.php index 326d7c4c..bf64d7ac 100644 --- a/formwork/src/Data/Contracts/ArraySerializable.php +++ b/formwork/src/Data/Contracts/ArraySerializable.php @@ -9,5 +9,5 @@ interface ArraySerializable extends Arrayable * * @param array $data */ - public static function fromArray(array $data): static; + public static function fromArray(array $data): self; }