@@ -39,7 +39,7 @@ |
||
| 39 | 39 | ->setDefinition([ |
| 40 | 40 | new InputArgument('report', InputArgument::REQUIRED, 'Report to run'), |
| 41 | 41 | new InputArgument('outputFile', InputArgument::OPTIONAL, 'File to output report to', '/tmp/report.csv') |
| 42 | - ]); |
|
| 42 | + ]); |
|
| 43 | 43 | } |
| 44 | 44 | |
| 45 | 45 | protected function execute(InputInterface $input, OutputInterface $output) |
@@ -10,7 +10,7 @@ |
||
| 10 | 10 | { |
| 11 | 11 | public function filter(Collection $tickets): Collection |
| 12 | 12 | { |
| 13 | - $p = function (TicketCounter $ticket) { |
|
| 13 | + $p = function(TicketCounter $ticket) { |
|
| 14 | 14 | return $ticket->getRemaining() > 0; |
| 15 | 15 | }; |
| 16 | 16 | return $tickets->filter($p); |