Skip to content

Commit 570e4a9

Browse files
committed
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.
1 parent eb7ab0c commit 570e4a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Resque/Job.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Resque_Job
1919
public $worker;
2020

2121
/**
22-
* @var object Object containing details of the job.
22+
* @var array Array containing details of the job.
2323
*/
2424
public $payload;
2525

0 commit comments

Comments
 (0)