This commit is contained in:
Adrian Hopek
2022-04-07 08:19:08 +02:00
parent 6abee20245
commit 0d8dccea22
2 changed files with 3 additions and 2 deletions

View File

@@ -14,7 +14,8 @@ use Toby\Infrastructure\Http\Resources\SimpleVacationRequestResource;
class AnnualSummaryController extends Controller
{
public function __invoke(Request $request, YearPeriodRetriever $yearPeriodRetriever): Response {
public function __invoke(Request $request, YearPeriodRetriever $yearPeriodRetriever): Response
{
$yearPeriod = $yearPeriodRetriever->selected();
$startDate = Carbon::createFromDate($yearPeriod->year)->startOfYear()->startOfWeek();