mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
fix cs
This commit is contained in:
@@ -478,11 +478,15 @@ final class SingleTaskController extends AbstractController
|
||||
case 'json':
|
||||
$collection = new Collection($tasks, $paginator);
|
||||
|
||||
return $this->json($collection, JsonResponse::HTTP_OK, [],
|
||||
['groups' => ['read']]);
|
||||
return $this->json(
|
||||
$collection,
|
||||
JsonResponse::HTTP_OK,
|
||||
[],
|
||||
['groups' => ['read']]
|
||||
);
|
||||
|
||||
default:
|
||||
throw new BadRequestException("format not supported: $format");
|
||||
throw new BadRequestException("format not supported: {$format}");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user