mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
DX: rector apply rules 'symfony up to 4.4
This commit is contained in:
@@ -85,10 +85,7 @@ class CreateFieldsOnGroupCommand extends Command
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int|void|null
|
||||
*/
|
||||
protected function execute(InputInterface $input, OutputInterface $output)
|
||||
protected function execute(InputInterface $input, OutputInterface $output): int
|
||||
{
|
||||
$helper = $this->getHelperSet()->get('question');
|
||||
|
||||
@@ -138,6 +135,7 @@ class CreateFieldsOnGroupCommand extends Command
|
||||
);
|
||||
|
||||
$fields = $this->_addFields($customFieldsGroup, $fieldsInput, $output);
|
||||
return 0;
|
||||
}
|
||||
|
||||
private function _addFields(CustomFieldsGroup $group, $values, OutputInterface $output)
|
||||
|
@@ -35,7 +35,7 @@ class CustomFieldLongChoice extends AbstractCustomField
|
||||
public function __construct(
|
||||
private readonly OptionRepository $optionRepository,
|
||||
private readonly TranslatableStringHelper $translatableStringHelper,
|
||||
private readonly EngineInterface $templating,
|
||||
private readonly \Twig\Environment $templating,
|
||||
) {
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user