Passed
Push — master ( 0f7602...dd459c )
by Vitor
07:00 queued 03:00
created
lib/Command/Test.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -25,16 +25,16 @@  discard block
 block discarded – undo
25 25
 	) {
26 26
 		parent::__construct('twofactorauth:gateway:test');
27 27
 
28
-		$ids = [];
28
+		$ids = [ ];
29 29
 		$fqcn = $this->gatewayFactory->getFqcnList();
30 30
 		foreach ($fqcn as $fqcn) {
31
-			$ids[] = $fqcn::getProviderId();
31
+			$ids[ ] = $fqcn::getProviderId();
32 32
 		}
33 33
 
34 34
 		$this->addArgument(
35 35
 			'gateway',
36 36
 			InputArgument::REQUIRED,
37
-			'The name of the gateway: ' . implode(', ', $ids)
37
+			'The name of the gateway: '.implode(', ', $ids)
38 38
 		);
39 39
 		$this->addArgument(
40 40
 			'identifier',
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
 		);
44 44
 	}
45 45
 
46
-	#[\Override]
46
+	#[\Override ]
47 47
 	protected function execute(InputInterface $input, OutputInterface $output) {
48 48
 		$gatewayName = $input->getArgument('gateway');
49 49
 		$identifier = $input->getArgument('identifier');
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
 			return 1;
56 56
 		}
57 57
 
58
-		$gateway->send($identifier, 'Test', ['code' => '123456']);
58
+		$gateway->send($identifier, 'Test', [ 'code' => '123456' ]);
59 59
 		return 0;
60 60
 	}
61 61
 }
Please login to merge, or discard this patch.