Skip to content

Commit 59f9682

Browse files
authored
Update EventCollector.php
1 parent bf3e3e2 commit 59f9682

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DataCollector/EventCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function onWildcardEvent($name = null, $data = [])
3636
$eventClass = explode(':', $name)[0];
3737

3838
foreach ($this->excludedEvents as $excludedEvent) {
39-
if (str_starts_with($eventClass, $excludedEvent)) {
39+
if (Str::is($excludedEvent, $eventClass)) {
4040
return;
4141
}
4242
}

0 commit comments

Comments
 (0)