This commit is contained in:
Oliver Davies 2025-06-12 02:10:09 +01:00
parent 6fe88456ca
commit aa08f702b2
4 changed files with 4 additions and 4 deletions

View file

@ -33,7 +33,7 @@ readonly final class Events implements \IteratorAggregate {
/**
* @param Event[] $events
*/
public static function new(array $events): self {
public static function fromEvents(array $events): self {
return new self($events);
}