chore: code cleanup
This commit is contained in:
@@ -16,7 +16,7 @@ class ContractPdfController extends AbstractController
|
||||
{
|
||||
public function __construct(
|
||||
private readonly ContractRenderer $renderer,
|
||||
private readonly LoggerInterface $logger
|
||||
private readonly LoggerInterface $logger,
|
||||
) {
|
||||
}
|
||||
|
||||
@@ -55,4 +55,4 @@ class ContractPdfController extends AbstractController
|
||||
|
||||
return $response;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,7 +16,8 @@ use Symfony\Component\String\Slugger\AsciiSlugger;
|
||||
class IcsController extends AbstractController
|
||||
{
|
||||
public function __construct(private readonly LoggerInterface $logger)
|
||||
{}
|
||||
{
|
||||
}
|
||||
|
||||
#[Route('/teamer/disposition/ics/{uuid}', name: 'app_teamer_disposition_ics')]
|
||||
#[IsGranted('ROLE_TEAMER')]
|
||||
|
||||
@@ -16,7 +16,7 @@ class InvoicePdfController extends AbstractController
|
||||
{
|
||||
public function __construct(
|
||||
private readonly InvoiceRenderer $renderer,
|
||||
private readonly LoggerInterface $logger
|
||||
private readonly LoggerInterface $logger,
|
||||
) {
|
||||
}
|
||||
|
||||
@@ -55,4 +55,4 @@ class InvoicePdfController extends AbstractController
|
||||
|
||||
return $response;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ class RecentController extends AbstractController
|
||||
{
|
||||
public function __construct(
|
||||
private readonly DispositionRepository $dispositionRepository,
|
||||
private readonly PaginatorInterface $paginator
|
||||
private readonly PaginatorInterface $paginator,
|
||||
) {
|
||||
}
|
||||
|
||||
@@ -43,8 +43,8 @@ class RecentController extends AbstractController
|
||||
);
|
||||
|
||||
return $this->render('teamer/disposition/recent.html.twig', [
|
||||
'teamer' => $teamer,
|
||||
'teamer' => $teamer,
|
||||
'pagination' => $pagination,
|
||||
]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ class UpcomingController extends AbstractController
|
||||
{
|
||||
public function __construct(
|
||||
private readonly DispositionRepository $dispositionRepository,
|
||||
private readonly PaginatorInterface $paginator
|
||||
private readonly PaginatorInterface $paginator,
|
||||
) {
|
||||
}
|
||||
|
||||
@@ -47,4 +47,4 @@ class UpcomingController extends AbstractController
|
||||
'pagination' => $pagination,
|
||||
]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user