Corrected type in Resque_Job::$payload docblock

The docblock for the $payload property in the Resque_Job class is object, which is inconsistent with the array type used for the corresponding constructor parameter. Other usage of the $payload property, such as in updateStatus(), indicate that array seems to be correct.
This commit is contained in:
Matthew Turland 2015-05-12 15:07:20 -05:00
parent eb7ab0c81a
commit 570e4a9e55

View File

@ -19,7 +19,7 @@ class Resque_Job
public $worker;
/**
* @var object Object containing details of the job.
* @var array Array containing details of the job.
*/
public $payload;