mirror of
https://github.com/idanoo/php-resque.git
synced 2024-11-22 08:15:14 +00:00
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:
parent
eb7ab0c81a
commit
570e4a9e55
@ -19,7 +19,7 @@ class Resque_Job
|
|||||||
public $worker;
|
public $worker;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var object Object containing details of the job.
|
* @var array Array containing details of the job.
|
||||||
*/
|
*/
|
||||||
public $payload;
|
public $payload;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user