@@ -9,7 +9,6 @@ |
||
| 9 | 9 | use Syncer\InvoiceNinja\InvoiceNinjaClient; |
| 10 | 10 | use Syncer\Toggl\ReportsClient; |
| 11 | 11 | use Syncer\Toggl\TogglClient; |
| 12 | - |
|
| 13 | 12 | use Symfony\Component\Console\Command\Command; |
| 14 | 13 | use Symfony\Component\Console\Input\InputInterface; |
| 15 | 14 | use Symfony\Component\Console\Output\OutputInterface; |
@@ -143,9 +143,7 @@ |
||
| 143 | 143 | // a project is required, but a client is not. |
| 144 | 144 | if ($timeEntryProject === null) { |
| 145 | 145 | $this->io->warning('No project set for TimeEntry (' . $timeEntry->getDescription() . ')'); |
| 146 | - } |
|
| 147 | - |
|
| 148 | - else if ($timeEntryClient === null) { |
|
| 146 | + } else if ($timeEntryClient === null) { |
|
| 149 | 147 | if ($this->useProjectsAsClients) { |
| 150 | 148 | $timeEntryClient = $timeEntryProject; |
| 151 | 149 | $workspaceClients[$timeEntryProject] = $this->getInvoiceNinjaClientIdForProject($timeEntryProject); |