Completed
Branch master (a4b70c)
by Carlos
03:02
created
src/Util/NormalPriorityQueue.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,9 @@
 block discarded – undo
10 10
 {
11 11
     public function compare($priority1, $priority2)
12 12
     {
13
-        if ($priority1 === $priority2) return 0;
13
+        if ($priority1 === $priority2) {
14
+            return 0;
15
+        }
14 16
         return ($priority1 < $priority2) ? -1 : 1;
15 17
     }
16 18
 }
17 19
\ No newline at end of file
Please login to merge, or discard this patch.
src/Console/ConsumeCommand.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     public function configure()
40 40
     {
41 41
         $this->setDescription('Consume queues')
42
-             ->addOption(
42
+                ->addOption(
43 43
                 'queues',
44 44
                 null,
45 45
                 InputOption::VALUE_REQUIRED,
Please login to merge, or discard this patch.
src/Console/PingCommand.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     public function configure()
41 41
     {
42 42
         $this->setDescription('Send a ping')
43
-             ->addOption(
43
+                ->addOption(
44 44
                 'queues',
45 45
                 null,
46 46
                 InputOption::VALUE_REQUIRED,
Please login to merge, or discard this patch.
src/Dispatcher/DispatchingRuleSet.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,9 @@
 block discarded – undo
13 13
      */
14 14
     public function compare($priority1, $priority2) 
15 15
     { 
16
-        if ($priority1 === $priority2) return 0; 
16
+        if ($priority1 === $priority2) {
17
+            return 0;
18
+        }
17 19
         return $priority1 < $priority2 ? -1 : 1; 
18 20
     }
19 21
 }
20 22
\ No newline at end of file
Please login to merge, or discard this patch.