@@ -150,7 +150,7 @@ discard block |
||
| 150 | 150 | * |
| 151 | 151 | * @param QueuedJob $job |
| 152 | 152 | * The job to start. |
| 153 | - * @param $startAfter |
|
| 153 | + * @param string $startAfter |
|
| 154 | 154 | * The date (in Y-m-d H:i:s format) to start execution after |
| 155 | 155 | * @param int $userId |
| 156 | 156 | * The ID of a user to execute the job as. Defaults to the current user |
@@ -206,7 +206,7 @@ discard block |
||
| 206 | 206 | /** |
| 207 | 207 | * Start a job (or however the queue handler determines it should be started) |
| 208 | 208 | * |
| 209 | - * @param JobDescriptor $jobDescriptor |
|
| 209 | + * @param QueuedJobDescriptor $jobDescriptor |
|
| 210 | 210 | * @param date $startAfter |
| 211 | 211 | */ |
| 212 | 212 | public function startJob($jobDescriptor, $startAfter = null) |
@@ -381,6 +381,7 @@ discard block |
||
| 381 | 381 | |
| 382 | 382 | /** |
| 383 | 383 | * Checks through ll the scheduled jobs that are expected to exist |
| 384 | + * @param string $queue |
|
| 384 | 385 | */ |
| 385 | 386 | public function checkDefaultJobs($queue = null) |
| 386 | 387 | { |
@@ -461,7 +462,7 @@ discard block |
||
| 461 | 462 | * |
| 462 | 463 | * @param QueuedJobDescriptor $stalledJob |
| 463 | 464 | * |
| 464 | - * @return bool True if the job was successfully restarted |
|
| 465 | + * @return boolean|null True if the job was successfully restarted |
|
| 465 | 466 | */ |
| 466 | 467 | protected function restartStalledJob($stalledJob) |
| 467 | 468 | { |
@@ -1012,6 +1013,9 @@ discard block |
||
| 1012 | 1013 | } |
| 1013 | 1014 | } |
| 1014 | 1015 | |
| 1016 | + /** |
|
| 1017 | + * @param double $size |
|
| 1018 | + */ |
|
| 1015 | 1019 | protected function humanReadable($size) |
| 1016 | 1020 | { |
| 1017 | 1021 | $filesizename = [" Bytes", " KB", " MB", " GB", " TB", " PB", " EB", " ZB", " YB"]; |