@@ -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) |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | protected function execute(InputInterface $input, OutputInterface $output) |
| 46 | 46 | { |
| 47 | 47 | $reportName = $input->getArgument('report'); |
| 48 | - if (!$this->reportManager->has($reportName)){ |
|
| 48 | + if (!$this->reportManager->has($reportName)) { |
|
| 49 | 49 | throw new \Exception('Invalid report name'); |
| 50 | 50 | } |
| 51 | 51 | |
@@ -175,7 +175,7 @@ |
||
| 175 | 175 | |
| 176 | 176 | $this->avaliableTickets[$identifier] = $ticket['available']; |
| 177 | 177 | |
| 178 | - $ticket['metadata'] = ArrayUtils::merge(['private' => false], (isset($ticket['metadata'])?$ticket['metadata']:[])); |
|
| 178 | + $ticket['metadata'] = ArrayUtils::merge(['private' => false], (isset($ticket['metadata']) ? $ticket['metadata'] : [])); |
|
| 179 | 179 | |
| 180 | 180 | if (isset($ticket['metadata']['availableFrom']) && isset($ticket['metadata']['availableTo'])) { |
| 181 | 181 | $this->ticketMetadata[$identifier] = new TicketMetadata( |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace ConferenceTools\Tickets\Form; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace ConferenceTools\Tickets\Form; |
| 6 | 6 | |