We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d60e0ba + 05efe75 commit 09e01faCopy full SHA for 09e01fa
Routing/Loader/ClassUtils.php
@@ -24,7 +24,7 @@ public static function findClassInFile(string $file): ?string
24
$namespace = false;
25
$tokens = token_get_all(file_get_contents($file));
26
27
- if (defined('T_NAME_QUALIFIED')) {
+ if (PHP_VERSION_ID >= 80000) {
28
$namespaceToken = T_NAME_QUALIFIED;
29
} else {
30
$namespaceToken = T_STRING;
0 commit comments