mirror of
https://github.com/symfony/error-handler.git
synced 2026-04-25 00:28:20 +02:00
Remove deadcode after the bump to PHP >= 8.4
This commit is contained in:
@@ -868,7 +868,7 @@ class DebugClassLoader
|
||||
|
||||
$constant = new \ReflectionClassConstant($definingClass, $constantName);
|
||||
|
||||
if (\PHP_VERSION_ID >= 80300 && $constantType = $constant->getType()) {
|
||||
if ($constantType = $constant->getType()) {
|
||||
if ($constantType instanceof \ReflectionNamedType) {
|
||||
$n = $constantType->getName();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user