Completed
Pull Request — master (#16)
by Jan
26:20 queued 11:22
created
src/Event/GetJobsEvent.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,8 @@
 block discarded – undo
17 17
 
18 18
     /**
19 19
      * @param string[] $queues
20
-     * @param          $count
21
-     * @param          $timeout
20
+     * @param          integer $count
21
+     * @param          integer $timeout
22 22
      */
23 23
     public function __construct(array $queues, $count, $timeout)
24 24
     {
Please login to merge, or discard this patch.
src/Statistic/JobOriginStatistic.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@
 block discarded – undo
114 114
      *
115 115
      * The list is ordered descending by the frequency of Jobs.
116 116
      *
117
-     * @return float[]
117
+     * @return string
118 118
      */
119 119
     public function nodes($queue)
120 120
     {
Please login to merge, or discard this patch.
src/Statistic/NodeStatistic.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -36,6 +36,7 @@
 block discarded – undo
36 36
      * If the node is not known, no messages have been retrieved from it, so 0. will be returned.
37 37
      *
38 38
      * @param $nodeId
39
+     * @param string $queue
39 40
      *
40 41
      * @return float
41 42
      */
Please login to merge, or discard this patch.
src/Job.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
      */
108 108
     public function setDelay($delay)
109 109
     {
110
-        $this->delay = (int)$delay;
110
+        $this->delay = (int) $delay;
111 111
     }
112 112
 
113 113
 
Please login to merge, or discard this patch.
src/Client/AbstractClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
     protected function mapJobs(array $list)
96 96
     {
97 97
         return array_map(
98
-            function ($element) {
98
+            function($element) {
99 99
                 return Job::create([
100 100
                     'queue' => $element[0],
101 101
                     'id' => $element[1],
Please login to merge, or discard this patch.