mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-01 12:33:49 +00:00
Apply rector rules: symfony up to 54
This commit is contained in:
@@ -31,6 +31,7 @@ use Symfony\Component\Yaml\Parser;
|
||||
*/
|
||||
class CreateFieldsOnGroupCommand extends Command
|
||||
{
|
||||
protected static $defaultDescription = 'Create custom fields from a yml file';
|
||||
final public const ARG_DELETE = 'delete';
|
||||
|
||||
final public const ARG_PATH = 'path';
|
||||
@@ -51,7 +52,6 @@ class CreateFieldsOnGroupCommand extends Command
|
||||
protected function configure()
|
||||
{
|
||||
$this->setName('chill:custom_fields:populate_group')
|
||||
->setDescription('Create custom fields from a yml file')
|
||||
->addArgument(
|
||||
self::ARG_PATH,
|
||||
InputOption::VALUE_REQUIRED,
|
||||
@@ -130,7 +130,7 @@ class CreateFieldsOnGroupCommand extends Command
|
||||
|
||||
$fields = $this->_addFields($customFieldsGroup, $fieldsInput, $output);
|
||||
|
||||
return 0;
|
||||
return Command::SUCCESS;
|
||||
}
|
||||
|
||||
private function _addFields(CustomFieldsGroup $group, $values, OutputInterface $output)
|
||||
|
Reference in New Issue
Block a user