@@ -151,7 +151,7 @@ discard block |
||
| 151 | 151 | * |
| 152 | 152 | * @param QueuedJob $job |
| 153 | 153 | * The job to start. |
| 154 | - * @param $startAfter |
|
| 154 | + * @param string $startAfter |
|
| 155 | 155 | * The date (in Y-m-d H:i:s format) to start execution after |
| 156 | 156 | * @param int $userId |
| 157 | 157 | * The ID of a user to execute the job as. Defaults to the current user |
@@ -204,7 +204,7 @@ discard block |
||
| 204 | 204 | /** |
| 205 | 205 | * Start a job (or however the queue handler determines it should be started) |
| 206 | 206 | * |
| 207 | - * @param JobDescriptor $jobDescriptor |
|
| 207 | + * @param QueuedJobDescriptor $jobDescriptor |
|
| 208 | 208 | * @param date $startAfter |
| 209 | 209 | */ |
| 210 | 210 | public function startJob($jobDescriptor, $startAfter = null) |
@@ -374,6 +374,7 @@ discard block |
||
| 374 | 374 | |
| 375 | 375 | /** |
| 376 | 376 | * Checks through ll the scheduled jobs that are expected to exist |
| 377 | + * @param string $queue |
|
| 377 | 378 | */ |
| 378 | 379 | public function checkDefaultJobs($queue = null) |
| 379 | 380 | { |
@@ -429,7 +430,7 @@ discard block |
||
| 429 | 430 | * Attempt to restart a stalled job |
| 430 | 431 | * |
| 431 | 432 | * @param QueuedJobDescriptor $stalledJob |
| 432 | - * @return bool True if the job was successfully restarted |
|
| 433 | + * @return boolean|null True if the job was successfully restarted |
|
| 433 | 434 | */ |
| 434 | 435 | protected function restartStalledJob($stalledJob) |
| 435 | 436 | { |
@@ -772,7 +773,7 @@ discard block |
||
| 772 | 773 | /** |
| 773 | 774 | * @param QueuedJobDescriptor $jobDescriptor |
| 774 | 775 | * @param Member|null $originalUser |
| 775 | - * @return null |
|
| 776 | + * @return null|Member |
|
| 776 | 777 | */ |
| 777 | 778 | protected function setRunAsUser(QueuedJobDescriptor $jobDescriptor, Member $originalUser = null) |
| 778 | 779 | { |
@@ -944,6 +945,9 @@ discard block |
||
| 944 | 945 | } |
| 945 | 946 | } |
| 946 | 947 | |
| 948 | + /** |
|
| 949 | + * @param double $size |
|
| 950 | + */ |
|
| 947 | 951 | protected function humanReadable($size) |
| 948 | 952 | { |
| 949 | 953 | $filesizename = array(" Bytes", " KB", " MB", " GB", " TB", " PB", " EB", " ZB", " YB"); |
@@ -959,7 +963,7 @@ discard block |
||
| 959 | 963 | * @param int $includeUpUntil |
| 960 | 964 | * The number of seconds to include jobs that have just finished, allowing a job list to be built that |
| 961 | 965 | * includes recently finished jobs |
| 962 | - * @return QueuedJobDescriptor |
|
| 966 | + * @return DataList |
|
| 963 | 967 | */ |
| 964 | 968 | public function getJobList($type = null, $includeUpUntil = 0) |
| 965 | 969 | { |