Skip to content

Commit 951d9d3

Browse files
author
Chaitanya Kuber
committed
updated method comments
1 parent 4700375 commit 951d9d3

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

lib/Resque.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ class Resque
2424
* the redis server that Resque will talk to.
2525
*
2626
* @param mixed $server Host/port combination separated by a colon, or
27-
* a nested array of servers with host/port pairs.
27+
* a nested array of servers with host/port pairs.
28+
* @param int $database
2829
*/
2930
public static function setBackend($server, $database = 0)
3031
{
@@ -88,6 +89,8 @@ public static function pop($queue)
8889
/**
8990
* Return the size (number of pending jobs) of the specified queue.
9091
*
92+
* @param $queue name of the queue to be checked for pendign jobs
93+
*
9194
* @return int The size of the queue.
9295
*/
9396
public static function size($queue)
@@ -101,7 +104,9 @@ public static function size($queue)
101104
* @param string $queue The name of the queue to place the job in.
102105
* @param string $class The name of the class that contains the code to execute the job.
103106
* @param array $args Any optional arguments that should be passed when the job is executed.
104-
* @param boolean $monitor Set to true to be able to monitor the status of a job.
107+
* @param boolean $trackStatus Set to true to be able to monitor the status of a job.
108+
*
109+
* @return string
105110
*/
106111
public static function enqueue($queue, $class, $args = null, $trackStatus = false)
107112
{

0 commit comments

Comments
 (0)