php cs fixes after updating php cs fixer

This commit is contained in:
2024-01-10 10:31:25 +01:00
parent 60ede58af0
commit 3c8e59e088
682 changed files with 2097 additions and 882 deletions

View File

@@ -37,7 +37,8 @@ class DocumentAccompanyingCourseController extends AbstractController
protected TranslatorInterface $translator,
protected EventDispatcherInterface $eventDispatcher,
protected AuthorizationHelper $authorizationHelper
) {}
) {
}
/**
* @Route("/{id}/delete", name="chill_docstore_accompanying_course_document_delete")

View File

@@ -32,7 +32,7 @@ class DocumentCategoryController extends AbstractController
{
$em = $this->getDoctrine()->getManager();
$documentCategory = $em
->getRepository(\Chill\DocStoreBundle\Entity\DocumentCategory::class)
->getRepository(DocumentCategory::class)
->findOneBy(
['bundleId' => $bundleId, 'idInsideBundle' => $idInsideBundle]
);
@@ -52,7 +52,7 @@ class DocumentCategoryController extends AbstractController
{
$em = $this->getDoctrine()->getManager();
$documentCategory = $em
->getRepository(\Chill\DocStoreBundle\Entity\DocumentCategory::class)
->getRepository(DocumentCategory::class)
->findOneBy(
['bundleId' => $bundleId, 'idInsideBundle' => $idInsideBundle]
);
@@ -135,7 +135,7 @@ class DocumentCategoryController extends AbstractController
{
$em = $this->getDoctrine()->getManager();
$documentCategory = $em
->getRepository(\Chill\DocStoreBundle\Entity\DocumentCategory::class)
->getRepository(DocumentCategory::class)
->findOneBy(
['bundleId' => $bundleId, 'idInsideBundle' => $idInsideBundle]
);

View File

@@ -43,7 +43,8 @@ class DocumentPersonController extends AbstractController
protected TranslatorInterface $translator,
protected EventDispatcherInterface $eventDispatcher,
protected AuthorizationHelper $authorizationHelper
) {}
) {
}
/**
* @Route("/{id}/delete", name="chill_docstore_person_document_delete")

View File

@@ -29,7 +29,8 @@ final readonly class GenericDocForAccompanyingPeriodController
private PaginatorFactory $paginator,
private Security $security,
private \Twig\Environment $twig,
) {}
) {
}
/**
* @throws \Doctrine\DBAL\Exception

View File

@@ -29,7 +29,8 @@ final readonly class GenericDocForPerson
private PaginatorFactory $paginator,
private Security $security,
private \Twig\Environment $twig,
) {}
) {
}
/**
* @throws \Doctrine\DBAL\Exception

View File

@@ -20,7 +20,9 @@ use Symfony\Component\Security\Core\Security;
class StoredObjectApiController
{
public function __construct(private readonly Security $security) {}
public function __construct(private readonly Security $security)
{
}
/**
* @Route("/api/1.0/doc-store/stored-object/{uuid}/is-ready")