From 570e4a9e5551f5f6db3a5d9f63cc9a3dc08748ed Mon Sep 17 00:00:00 2001 From: Matthew Turland Date: Tue, 12 May 2015 15:07:20 -0500 Subject: [PATCH] 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. --- lib/Resque/Job.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Resque/Job.php b/lib/Resque/Job.php index 344c6c1..07df07c 100755 --- a/lib/Resque/Job.php +++ b/lib/Resque/Job.php @@ -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;