mirror of
https://github.com/idanoo/php-resque
synced 2025-06-30 21:22:20 +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
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue