Skip to content

Commit

Permalink
Fix optional parameter order
Browse files Browse the repository at this point in the history
  • Loading branch information
tchapi committed Dec 1, 2024
1 parent 3697aac commit 19b2fde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/DAVController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 19b2fde

Please sign in to comment.