Merge branch '#49-laravel-9' into #41-email-notifications

# Conflicts:
#	app/Architecture/Providers/EventServiceProvider.php
#	app/Domain/VacationRequestStateManager.php
#	resources/lang/pl.json
This commit is contained in:
EwelinaLasowy
2022-02-18 11:41:15 +01:00
18 changed files with 790 additions and 2124 deletions

View File

@@ -48,7 +48,7 @@ class VacationRequestStateManager
public function cancel(VacationRequest $vacationRequest): void
{
$this->changeState($vacationRequest, VacationRequestState::Canceled);
$this->changeState($vacationRequest, VacationRequestState::Cancelled);
$this->dispatcher->dispatch(new VacationRequestCancelled($vacationRequest));
}