File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ public function __construct($queue, $payload)
8282 * Create a new job and save it to the specified queue.
8383 *
8484 * @param string $queue The name of the queue to place the job in.
85- * @param class-string $class The name of the class that contains the code to execute the job.
85+ * @param class-string<Resque\Job\Job> $class The name of the class that contains the code to execute the job.
8686 * @param array $args Any optional arguments that should be passed when the job is executed.
8787 * @param boolean $monitor Set to true to be able to monitor the status of a job.
8888 * @param string $id Unique identifier for tracking the job. Generated if not supplied.
@@ -214,7 +214,7 @@ public function getInstance(): Job
214214 * Actually execute a job by calling the perform method on the class
215215 * associated with the job with the supplied arguments.
216216 *
217- * @return bool
217+ * @return mixed Return of perform, or false if DoNotPerformException was thrown
218218 * @throws ResqueException When the job's class could not be found.
219219 */
220220 public function perform ()
You can’t perform that action at this time.
0 commit comments