@@ -5,9 +5,9 @@ |
||
| 5 | 5 | final class Status |
| 6 | 6 | { |
| 7 | 7 | const WAITING = 'waiting', |
| 8 | - RUNNING = 'running', |
|
| 9 | - FINISHED = 'finished', |
|
| 10 | - FAILED = 'failed'; |
|
| 8 | + RUNNING = 'running', |
|
| 9 | + FINISHED = 'finished', |
|
| 10 | + FAILED = 'failed'; |
|
| 11 | 11 | |
| 12 | 12 | /** |
| 13 | 13 | * |
@@ -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 | }); |
@@ -37,13 +37,11 @@ |
||
| 37 | 37 | private $createdAt; |
| 38 | 38 | |
| 39 | 39 | /** |
| 40 | - |
|
| 41 | 40 | * @var ParameterBag |
| 42 | 41 | */ |
| 43 | 42 | private $parameters; |
| 44 | 43 | |
| 45 | 44 | /** |
| 46 | - |
|
| 47 | 45 | * @var TagBag |
| 48 | 46 | */ |
| 49 | 47 | private $tags; |
@@ -24,7 +24,6 @@ |
||
| 24 | 24 | private $eventDispatcher; |
| 25 | 25 | |
| 26 | 26 | /** |
| 27 | - |
|
| 28 | 27 | * @param Queue $queue |
| 29 | 28 | * @param EventDispatcherInterface $eventDispatcher |
| 30 | 29 | */ |