Completed
Push — master ( edc742...7caaab )
by Maxence
31s queued 16s
created
lib/Command/CollectionLink.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,8 +50,8 @@
 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' , '')
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
 
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -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.