Merge branch 'main' into #126-vacation-request-reminders

# Conflicts:
#	app/Domain/Actions/VacationRequest/CreateAction.php
#	app/Domain/Validation/Rules/DoesNotExceedLimitRule.php
This commit is contained in:
Adrian Hopek
2022-04-27 10:05:08 +02:00
69 changed files with 1580 additions and 218 deletions

View File

@@ -66,6 +66,6 @@ class DoesNotExceedLimitRule implements VacationRequestRule
{
$types = VacationType::all();
return $types->filter(fn(VacationType $type) => $this->configRetriever->hasLimit($type));
return $types->filter(fn(VacationType $type): bool => $this->configRetriever->hasLimit($type));
}
}