Skip to content
This repository was archived by the owner on Dec 6, 2022. It is now read-only.

Commit f5026d3

Browse files
author
Charlotte Dunois
authored
Update EventEmitterTrait.php
1 parent 1e477df commit f5026d3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/EventEmitterTrait.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@ function listeners(?string $event = null) {
137137
/**
138138
* Emits an event, catching all exceptions and emitting an error event for these exceptions.
139139
* @param string $event
140-
* @param mixed $arguments
140+
* @param mixed ...$arguments
141+
* @return void
141142
* @throws \Throwable Any Throwable, Exception, Error or ErrorException by the listener.
142143
* @throws \Exception Any Throwable, Exception, Error or ErrorException by the listener.
143144
* @throws \Error Any Throwable, Exception, Error or ErrorException by the listener.

0 commit comments

Comments
 (0)