Skip to content

Commit 7c924ae

Browse files
always use get_class instead of ::class because of support for old php versions.
1 parent f45719d commit 7c924ae

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/EventListener/CronMonitorListener.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,6 @@ private function getCommandIndex(?Command $command): string
9999
return '';
100100
}
101101

102-
if (\PHP_VERSION > 8.0) {
103-
return $command::class;
104-
}
105-
106102
return \get_class($command);
107103
}
108104
}

0 commit comments

Comments
 (0)