Skip to content

Commit e7b453f

Browse files
committed
Fixed event not triggering due to typo.
1 parent 449e6c9 commit e7b453f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Event.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public function trigger(string $name, ...$arguments): bool
9292
if($this->debugMode){
9393
$start = microtime(true);
9494
}
95-
$res = ($this->simulate === FALSE) ? call_user_func_array($events, $arguments) : true;
95+
$res = ($this->simulate === FALSE) ? call_user_func_array($event, $arguments) : true;
9696
if($this->debugMode){
9797
$this->debug[] = [
9898
'start' => $start,

0 commit comments

Comments
 (0)