chore: code cleanup
This commit is contained in:
@@ -97,7 +97,7 @@ class CheckController extends AbstractController
|
||||
]);
|
||||
}
|
||||
|
||||
private function rejectDocument(Upload $document, string $comment = null): void
|
||||
private function rejectDocument(Upload $document, ?string $comment = null): void
|
||||
{
|
||||
$document
|
||||
->setStatus(Upload::STATUS_REJECTED)
|
||||
|
||||
@@ -16,7 +16,7 @@ class DeleteController extends AbstractController
|
||||
{
|
||||
public function __construct(
|
||||
private readonly EntityManagerInterface $entityManager,
|
||||
private readonly LoggerInterface $logger
|
||||
private readonly LoggerInterface $logger,
|
||||
) {
|
||||
}
|
||||
|
||||
@@ -42,4 +42,4 @@ class DeleteController extends AbstractController
|
||||
'document' => $document,
|
||||
]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ class IndexController extends AbstractController
|
||||
public function __construct(
|
||||
private readonly UploadRepository $uploadRepository,
|
||||
private readonly PaginatorInterface $paginator,
|
||||
private readonly DocumentFilterHandler $filterHandler
|
||||
private readonly DocumentFilterHandler $filterHandler,
|
||||
) {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user