mirror of
https://github.com/idanoo/php-resque.git
synced 2024-11-22 16:25:14 +00:00
fix comment to specify that is an array instead of an object in Resque::push
This commit is contained in:
parent
458fd6488b
commit
7a7cfbf2b9
@ -60,7 +60,7 @@ class Resque
|
|||||||
* exist, then create it as well.
|
* exist, then create it as well.
|
||||||
*
|
*
|
||||||
* @param string $queue The name of the queue to add the job to.
|
* @param string $queue The name of the queue to add the job to.
|
||||||
* @param object $item Job description as an object to be JSON encoded.
|
* @param array $item Job description as an array to be JSON encoded.
|
||||||
*/
|
*/
|
||||||
public static function push($queue, $item)
|
public static function push($queue, $item)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user