should be type-hinted: `array $events`