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:
@@ -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));
|
||||
}
|
||||
|
Reference in New Issue
Block a user