X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fmodules%2Fcontrib%2Fmetatag%2Fsrc%2FCommand%2FGenerateTagCommand.php;fp=web%2Fmodules%2Fcontrib%2Fmetatag%2Fsrc%2FCommand%2FGenerateTagCommand.php;h=b692c113dc3f139b0448ef7064d627aafa955cfe;hp=d07eb03bafc17fda3f301f309bbc3f0022f7e509;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/web/modules/contrib/metatag/src/Command/GenerateTagCommand.php b/web/modules/contrib/metatag/src/Command/GenerateTagCommand.php index d07eb03ba..b692c113d 100644 --- a/web/modules/contrib/metatag/src/Command/GenerateTagCommand.php +++ b/web/modules/contrib/metatag/src/Command/GenerateTagCommand.php @@ -1,25 +1,21 @@ addOption('secure', '', InputOption::VALUE_REQUIRED, $this->trans('commands.generate.metatag.tag.options.secure')) ->addOption('multiple', '', InputOption::VALUE_REQUIRED, - $this->trans('commands.generate.metatag.tag.options.multiple')) - ; + $this->trans('commands.generate.metatag.tag.options.multiple')); } /** @@ -124,7 +126,7 @@ class GenerateTagCommand extends Command { protected function execute(InputInterface $input, OutputInterface $output) { $io = new DrupalStyle($input, $output); - // @see use Drupal\Console\Command\ConfirmationTrait::confirmGeneration + // @see Drupal\Console\Command\ConfirmationTrait::confirmGeneration if (!$this->confirmGeneration($io)) { return 1; } @@ -160,7 +162,7 @@ class GenerateTagCommand extends Command { 'TRUE', ]; - // ToDo: Take this from typed data, so it can be extended? + // @todo Take this from typed data, so it can be extended? $type_options = [ 'integer', 'string', @@ -251,8 +253,7 @@ class GenerateTagCommand extends Command { $input->setOption('group', $group); // --weight option. - // @todo Automatically get the next integer value based upon the current - // group. + // @todo Automatically get the next int value based upon the current group. $weight = $input->getOption('weight'); if (is_null($weight)) { $weight = $io->ask(