Add missing return type

This commit is contained in:
Oliver Davies 2020-06-29 21:18:28 +01:00
parent 5f79f6b497
commit b874c01ea2

View file

@ -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);
}