diff --git a/src/ValueObject/Event.php b/src/ValueObject/Event.php index 1d670f9..b1a9fa4 100644 --- a/src/ValueObject/Event.php +++ b/src/ValueObject/Event.php @@ -11,7 +11,7 @@ class Event private string $link; - public static function createFromArray(array $data) + public static function createFromArray(array $data): self { return new static($data); }