Skip to content

Commit

Permalink
Allow returning self from ArraySerializable::fromArray()
Browse files Browse the repository at this point in the history
  • Loading branch information
giuscris committed Jan 9, 2025
1 parent cf02d31 commit 02f9dfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion formwork/src/Data/Contracts/ArraySerializable.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ interface ArraySerializable extends Arrayable
*
* @param array<mixed> $data
*/
public static function fromArray(array $data): static;
public static function fromArray(array $data): self;
}

0 comments on commit 02f9dfc

Please sign in to comment.