@@ -144,7 +144,7 @@ discard block |
||
144 | 144 | /** |
145 | 145 | * Sets a limit of simultaneously executing tasks |
146 | 146 | * @param integer $n Natural number or -1 (no limit) |
147 | - * @return this |
|
147 | + * @return ComplexJob |
|
148 | 148 | */ |
149 | 149 | public function maxConcurrency($n = -1) { |
150 | 150 | $this->maxConcurrency = $n; |
@@ -216,7 +216,7 @@ discard block |
||
216 | 216 | /** |
217 | 217 | * Sets a callback which is going to be fired always when we have a room for more jobs |
218 | 218 | * @param callable $cb Callback |
219 | - * @return this |
|
219 | + * @return ComplexJob |
|
220 | 220 | */ |
221 | 221 | public function more($cb = null) { |
222 | 222 | if ($cb !== null) { |