This commit is contained in:
Adrian Hopek
2022-04-20 12:20:56 +02:00
parent 05002dbc33
commit db70c3885f
6 changed files with 13 additions and 7 deletions

View File

@@ -152,7 +152,7 @@ class VacationRequestController extends Controller
*/
public function download(
VacationRequest $vacationRequest,
VacationTypeConfigRetriever $configRetriever
VacationTypeConfigRetriever $configRetriever,
): LaravelResponse {
if (!$configRetriever->isVacation($vacationRequest->type)) {
return abort(SymfonyResponse::HTTP_NOT_FOUND);