Passed
Push — master ( ec877f...169311 )
by Brice
04:38
created
src/Infrastructure/RedisQueue.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -167,7 +167,9 @@
 block discarded – undo
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
         });
Please login to merge, or discard this patch.
src/Application/Console/ListTasks.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -146,7 +146,9 @@
 block discarded – undo
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++;
Please login to merge, or discard this patch.