Fix code style issue

This commit is contained in:
Jaapio
2025-11-07 16:00:13 +01:00
parent 94f8051919
commit 4277f906ba
+6 -2
View File
@@ -20,6 +20,8 @@ use function is_object;
use function is_resource; use function is_resource;
use function sprintf; use function sprintf;
use const PHP_VERSION_ID;
/** /**
* This class represents an exception during the tag creation * This class represents an exception during the tag creation
* *
@@ -98,9 +100,11 @@ final class InvalidTag implements Tag
$exception = $exception->getPrevious(); $exception = $exception->getPrevious();
} while ($exception !== null); } while ($exception !== null);
if (PHP_VERSION_ID < 80100) { if (PHP_VERSION_ID >= 80100) {
$traceProperty->setAccessible(false); return;
} }
$traceProperty->setAccessible(false);
} }
/** /**