- Mostly bug fixes done on this code push

This commit is contained in:
Dave Mc Nicoll committed 2024-11-01 16:14:14 -04:00
1 parent 7de0ecb028
commit 83f673b37f
8 files changed
+26 -5

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ trait EventTrait
return array_filter($this->eventList, fn($ev) => $ev instanceof $type);
}
public function eventExecute(string $type, ...$arguments) : void
public function eventExecute(string $type, &...$arguments) : void
{
foreach($this->eventFromType($type) as $event) {
call_user_func_array([ $event, 'execute'], $arguments);