mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-25 00:53:48 +00:00
fixes after merge of master into upgrade-sf4
This commit is contained in:
@@ -13,6 +13,4 @@ namespace Chill\ReportBundle;
|
||||
|
||||
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
||||
|
||||
class ChillReportBundle extends Bundle
|
||||
{
|
||||
}
|
||||
class ChillReportBundle extends Bundle {}
|
||||
|
@@ -38,8 +38,7 @@ class ReportController extends AbstractController
|
||||
private readonly PaginatorFactory $paginator,
|
||||
private readonly TranslatorInterface $translator,
|
||||
private readonly \Doctrine\Persistence\ManagerRegistry $managerRegistry
|
||||
) {
|
||||
}
|
||||
) {}
|
||||
|
||||
/**
|
||||
* Create a new report for a given person and of a given type.
|
||||
|
@@ -46,9 +46,7 @@ class ReportList implements ExportElementValidatedInterface, ListInterface
|
||||
|
||||
protected array $slugs = [];
|
||||
|
||||
public function __construct(protected CustomFieldsGroup $customfieldsGroup, protected TranslatableStringHelper $translatableStringHelper, protected TranslatorInterface $translator, protected CustomFieldProvider $customFieldProvider, protected EntityManagerInterface $em)
|
||||
{
|
||||
}
|
||||
public function __construct(protected CustomFieldsGroup $customfieldsGroup, protected TranslatableStringHelper $translatableStringHelper, protected TranslatorInterface $translator, protected CustomFieldProvider $customFieldProvider, protected EntityManagerInterface $em) {}
|
||||
|
||||
public function buildForm(FormBuilderInterface $builder)
|
||||
{
|
||||
|
@@ -19,9 +19,7 @@ use Doctrine\ORM\Query\Expr;
|
||||
|
||||
class ReportDateFilter implements FilterInterface
|
||||
{
|
||||
public function __construct(private readonly RollingDateConverterInterface $rollingDateConverter)
|
||||
{
|
||||
}
|
||||
public function __construct(private readonly RollingDateConverterInterface $rollingDateConverter) {}
|
||||
|
||||
public function addRole(): ?string
|
||||
{
|
||||
|
@@ -44,9 +44,7 @@ final class ReportVoterTest extends KernelTestCase
|
||||
*/
|
||||
protected $voter;
|
||||
|
||||
public static function setUpBeforeClass(): void
|
||||
{
|
||||
}
|
||||
public static function setUpBeforeClass(): void {}
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
|
@@ -25,9 +25,7 @@ use Symfony\Component\Security\Core\Security;
|
||||
*/
|
||||
class TimelineReportProvider implements TimelineProviderInterface
|
||||
{
|
||||
public function __construct(protected EntityManager $em, protected AuthorizationHelper $helper, private readonly Security $security, protected CustomFieldsHelper $customFieldsHelper, protected $showEmptyValues)
|
||||
{
|
||||
}
|
||||
public function __construct(protected EntityManager $em, protected AuthorizationHelper $helper, private readonly Security $security, protected CustomFieldsHelper $customFieldsHelper, protected $showEmptyValues) {}
|
||||
|
||||
public function fetchQuery($context, array $args)
|
||||
{
|
||||
|
Reference in New Issue
Block a user