diff --git a/src/Controller/DAVController.php b/src/Controller/DAVController.php index 866cada..9a0bd29 100644 --- a/src/Controller/DAVController.php +++ b/src/Controller/DAVController.php @@ -291,7 +291,7 @@ private function initExceptionListener() } #[Route('/dav/{path}', name: 'dav', requirements: ['path' => '.*'])] - public function dav(Request $request, ?Profiler $profiler = null, ?string $path) + public function dav(Request $request, ?string $path, ?Profiler $profiler = null) { // We don't want the toolbar on the /dav/* routes if ($profiler instanceof Profiler) {