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