We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 686e9ae commit 95f77dfCopy full SHA for 95f77df
system/Events/Events.php
@@ -147,7 +147,8 @@ public static function trigger($eventName, ...$arguments): bool
147
static::initialize();
148
}
149
150
- $listeners = static::listeners($eventName);
+ $listeners = static::listeners($eventName);
151
+ $lowerEventName = strtolower($eventName);
152
153
foreach ($listeners as $listener) {
154
$start = microtime(true);
@@ -158,7 +159,7 @@ public static function trigger($eventName, ...$arguments): bool
158
159
static::$performanceLog[] = [
160
'start' => $start,
161
'end' => microtime(true),
- 'event' => strtolower($eventName),
162
+ 'event' => $lowerEventName,
163
];
164
165
0 commit comments