Skip to content

Commit 3c34806

Browse files
committed
Remove obsolete PHP version checks
1 parent 7626352 commit 3c34806

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DataCollector/WorkflowDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ private function summarizeListener(callable $callable, string $eventName = null,
173173
$r = new \ReflectionFunction($callable);
174174
if (str_contains($r->name, '{closure}')) {
175175
$title = (string) $r;
176-
} elseif ($class = \PHP_VERSION_ID >= 80111 ? $r->getClosureCalledClass() : $r->getClosureScopeClass()) {
176+
} elseif ($class = $r->getClosureCalledClass()) {
177177
$title = $class->name.'::'.$r->name.'()';
178178
} else {
179179
$title = $r->name;

0 commit comments

Comments
 (0)