diff --git a/src/Router.php b/src/Router.php index 0d5ff99..07a9778 100644 --- a/src/Router.php +++ b/src/Router.php @@ -76,7 +76,7 @@ protected function getAllClassesInPaths(): array foreach ($classFilePaths as $classFilePath) { require_once $classFilePath; - $includedClassFilePaths[] = $classFilePath; + $includedClassFilePaths[] = realpath($classFilePath); } }