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.
1 parent d60e0ba commit 05efe75Copy full SHA for 05efe75
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