@@ -90,7 +90,6 @@ |
||
| 90 | 90 | } |
| 91 | 91 | |
| 92 | 92 | /** |
| 93 | - * @param Project $project |
|
| 94 | 93 | * |
| 95 | 94 | * @return mixed |
| 96 | 95 | */ |
@@ -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); |