Completed
Branch master (748b27)
by Alexey
36:13
created
Base/JobInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -16,6 +16,7 @@
 block discarded – undo
16 16
      *
17 17
      * @param Job $job
18 18
      * @param array $data
19
+     * @return void
19 20
      */
20 21
     public function fire(Job $job, array $data);
21 22
 }
Please login to merge, or discard this patch.
Queue/MongoQueue.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      *
97 97
      * @param string $queue
98 98
      *
99
-     * @return null|Job
99
+     * @return MongoJob|null
100 100
      */
101 101
     public function pop($queue = null)
102 102
     {
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
      * @param mixed $data
117 117
      * @param string $queue
118 118
      *
119
-     * @return mixed
119
+     * @return boolean
120 120
      */
121 121
     public function exists($job, $data = '', $queue = null)
122 122
     {
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
      *
197 197
      * @param $id
198 198
      *
199
-     * @return null|Job
199
+     * @return null|MongoJob
200 200
      */
201 201
     public function getJobById($id)
202 202
     {
@@ -344,7 +344,7 @@  discard block
 block discarded – undo
344 344
      *
345 345
      * @param string|null $queue
346 346
      *
347
-     * @return null|Job
347
+     * @return MongoJob|null
348 348
      */
349 349
     protected function getNextAvailableJob($queue)
350 350
     {
Please login to merge, or discard this patch.
Service/JobQueue.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
     /**
132 132
      * Push a new job onto the queue after a delay.
133 133
      *
134
-     * @param \DateTime|int $delay
134
+     * @param integer $delay
135 135
      * @param string $job
136 136
      * @param mixed $data
137 137
      * @param string $queue
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
     /**
148 148
      * Push a new job into the queue after a delay if job does not exist.
149 149
      *
150
-     * @param \DateTime|int $delay
150
+     * @param integer $delay
151 151
      * @param string $job
152 152
      * @param mixed $data
153 153
      * @param string $queue
Please login to merge, or discard this patch.