@@ -167,7 +167,9 @@ |
||
167 | 167 | $aValue = $a[$orderBy]; |
168 | 168 | $bValue = $b[$orderBy]; |
169 | 169 | |
170 | - if ($aValue === $bValue) return 0; |
|
170 | + if ($aValue === $bValue) { |
|
171 | + return 0; |
|
172 | + } |
|
171 | 173 | |
172 | 174 | return $aValue < $bValue ? -1 : 1; |
173 | 175 | }); |
@@ -146,7 +146,9 @@ |
||
146 | 146 | // When no specific status is required in the command line, |
147 | 147 | // then do not display `finished` tasks (this is arbitrary) |
148 | 148 | if (is_null($this->status)) { |
149 | - if (Status::FINISHED === $status) continue; |
|
149 | + if (Status::FINISHED === $status) { |
|
150 | + continue; |
|
151 | + } |
|
150 | 152 | } |
151 | 153 | |
152 | 154 | $taskCount++; |