@@ -50,8 +50,8 @@ |
||
50 | 50 | parent::configure(); |
51 | 51 | $this->setName('fulltextsearch:collection:link') |
52 | 52 | ->setDescription('Link collection to a user') |
53 | - ->addArgument('collection', InputArgument::OPTIONAL, 'collection' , '') |
|
54 | - ->addArgument('userId', InputArgument::OPTIONAL, 'user to link a collection to', '') |
|
53 | + ->addArgument('collection', InputArgument::OPTIONAL, 'collection' , '') |
|
54 | + ->addArgument('userId', InputArgument::OPTIONAL, 'user to link a collection to', '') |
|
55 | 55 | ->addOption('unlink', '', InputOption::VALUE_NONE, 'unlink collection'); |
56 | 56 | } |
57 | 57 |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | parent::configure(); |
51 | 51 | $this->setName('fulltextsearch:collection:link') |
52 | 52 | ->setDescription('Link collection to a user') |
53 | - ->addArgument('collection', InputArgument::OPTIONAL, 'collection' , '') |
|
53 | + ->addArgument('collection', InputArgument::OPTIONAL, 'collection', '') |
|
54 | 54 | ->addArgument('userId', InputArgument::OPTIONAL, 'user to link a collection to', '') |
55 | 55 | ->addOption('unlink', '', InputOption::VALUE_NONE, 'unlink collection'); |
56 | 56 | } |
@@ -71,8 +71,8 @@ discard block |
||
71 | 71 | $output->writeln('no collection linked to any user'); |
72 | 72 | } |
73 | 73 | |
74 | - foreach($links as $name => $userId) { |
|
75 | - $output->writeln('- Collection <info>' . $name . '</info> linked to user <info>' . $userId . '</info>'); |
|
74 | + foreach ($links as $name => $userId) { |
|
75 | + $output->writeln('- Collection <info>'.$name.'</info> linked to user <info>'.$userId.'</info>'); |
|
76 | 76 | } |
77 | 77 | |
78 | 78 | return 0; |