diff --git a/src/HandlerResolver.php b/src/HandlerResolver.php index 302e0b8..a374d23 100644 --- a/src/HandlerResolver.php +++ b/src/HandlerResolver.php @@ -4,7 +4,6 @@ use Bref\Runtime\FileHandlerLocator; use Bref\SymfonyBridge\Http\KernelAdapter; -use Bref\SymfonyBridge\Runtime\BrefRuntime; use Exception; use Psr\Container\ContainerInterface; use Symfony\Component\HttpKernel\HttpKernelInterface; @@ -114,7 +113,7 @@ private function symfonyContainer(?string $bootstrapFile = null): ContainerInter if ($projectDir) { $options['project_dir'] = $projectDir; } - $runtimeClass = $_SERVER['APP_RUNTIME'] ?? $_ENV['APP_RUNTIME'] ?? 'BrefRuntime'; + $runtimeClass = $_SERVER['APP_RUNTIME'] ?? $_ENV['APP_RUNTIME'] ?? '\\Bref\\SymfonyBridge\\Runtime\\BrefRuntime'; $runtime = new $runtimeClass($options); [$app, $args] = $runtime