mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 11:03:50 +00:00
DX: apply rector rules up to php8.0
This commit is contained in:
@@ -46,25 +46,11 @@ class LoadCustomFields extends AbstractFixture implements
|
||||
*/
|
||||
private $customFieldText;
|
||||
|
||||
/**
|
||||
* @var TranslatableStringHelper
|
||||
*/
|
||||
private $translatableStringHelper;
|
||||
|
||||
/**
|
||||
* @var TranslatorInterface
|
||||
*/
|
||||
private $translator;
|
||||
|
||||
/**
|
||||
* LoadCustomFields constructor.
|
||||
*/
|
||||
public function __construct(
|
||||
TranslatableStringHelper $translatableStringHelper,
|
||||
TranslatorInterface $translator
|
||||
) {
|
||||
$this->translatableStringHelper = $translatableStringHelper;
|
||||
$this->translator = $translator;
|
||||
public function __construct(private TranslatableStringHelper $translatableStringHelper, private TranslatorInterface $translator)
|
||||
{
|
||||
}
|
||||
|
||||
//put your code here
|
||||
|
Reference in New Issue
Block a user