|
@@ -50,7 +50,7 @@ discard block |
|
|
block discarded – undo |
|
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 |
|
|
block discarded – undo |
|
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; |
Please login to merge, or discard this patch.