#5 - bump dependencies

This commit is contained in:
Adrian Hopek
2022-03-01 09:31:45 +01:00
parent 936a279606
commit 92784846dc
48 changed files with 1131 additions and 469 deletions

View File

@@ -14,8 +14,7 @@ class UserAvatarGenerator
{
public function __construct(
protected InitialAvatar $generator,
) {
}
) {}
public function generateFor(User $user): string
{

View File

@@ -13,8 +13,7 @@ class YearPeriodRetriever
public function __construct(
protected Session $session,
) {
}
) {}
public function selected(): YearPeriod
{

View File

@@ -14,8 +14,7 @@ class UserObserver
public function __construct(
protected UserAvatarGenerator $generator,
protected YearPeriodRetriever $yearPeriodRetriever,
) {
}
) {}
public function created(User $user): void
{

View File

@@ -16,8 +16,7 @@ class VacationRequestObserver
public function __construct(
protected Auth $auth,
protected Dispatcher $dispatcher,
) {
}
) {}
public function creating(VacationRequest $vacationRequest): void
{

View File

@@ -14,8 +14,7 @@ class YearPeriodObserver
public function __construct(
protected UserAvatarGenerator $generator,
protected PolishHolidaysRetriever $polishHolidaysRetriever,
) {
}
) {}
public function created(YearPeriod $yearPeriod): void
{

View File

@@ -13,8 +13,7 @@ class SelectedYearPeriodScope implements Scope
{
public function __construct(
protected YearPeriodRetriever $yearPeriodRetriever,
) {
}
) {}
public function apply(Builder $builder, Model $model): Builder
{