mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-01 12:33:49 +00:00
DX: apply rector rules up to php8.0
This commit is contained in:
@@ -31,20 +31,8 @@ use function count;
|
||||
|
||||
class ElementController extends AbstractController
|
||||
{
|
||||
private CalculatorManager $calculator;
|
||||
|
||||
private ResourceRepository $resourceRepository;
|
||||
|
||||
private ChargeRepository $chargeRepository;
|
||||
|
||||
public function __construct(
|
||||
CalculatorManager $calculator,
|
||||
ResourceRepository $resourceRepository,
|
||||
ChargeRepository $chargeRepository,
|
||||
) {
|
||||
$this->calculator = $calculator;
|
||||
$this->resourceRepository = $resourceRepository;
|
||||
$this->chargeRepository = $chargeRepository;
|
||||
public function __construct(private CalculatorManager $calculator, private ResourceRepository $resourceRepository, private ChargeRepository $chargeRepository)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user