mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
DX: fix phpstan issues
This commit is contained in:
@@ -33,27 +33,15 @@ class ElementController extends AbstractController
|
||||
{
|
||||
private CalculatorManager $calculator;
|
||||
|
||||
private LoggerInterface $chillMainLogger;
|
||||
|
||||
private EntityManagerInterface $em;
|
||||
|
||||
private ResourceRepository $resourceRepository;
|
||||
|
||||
private ChargeRepository $chargeRepository;
|
||||
|
||||
private TranslatorInterface $translator;
|
||||
|
||||
public function __construct(
|
||||
EntityManagerInterface $em,
|
||||
TranslatorInterface $translator,
|
||||
LoggerInterface $chillMainLogger,
|
||||
CalculatorManager $calculator,
|
||||
ResourceRepository $resourceRepository,
|
||||
ChargeRepository $chargeRepository,
|
||||
) {
|
||||
$this->em = $em;
|
||||
$this->translator = $translator;
|
||||
$this->chillMainLogger = $chillMainLogger;
|
||||
$this->calculator = $calculator;
|
||||
$this->resourceRepository = $resourceRepository;
|
||||
$this->chargeRepository = $chargeRepository;
|
||||
|
Reference in New Issue
Block a user