File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ public static function dequeue($queue, $items = Array())
147147 * Remove specified queue
148148 *
149149 * @param string $queue The name of the queue to remove.
150- * @return integer number of deleted items
150+ * @return integer Number of deleted items
151151 */
152152 public static function removeQueue ($ queue )
153153 {
@@ -277,12 +277,12 @@ private static function removeItems($queue, $items = Array())
277277 $ originalQueue = 'queue: ' . $ queue ;
278278 $ tempQueue = $ originalQueue . ':temp: ' . time ();
279279 $ requeueQueue = $ tempQueue . ':requeue ' ;
280-
280+
281281 // move each item from original queue to temp queue and process it
282282 $ finished = false ;
283283 while (!$ finished ) {
284284 $ string = self ::redis ()->rpoplpush ($ originalQueue , self ::redis ()->getPrefix () . $ tempQueue );
285-
285+
286286 if (!empty ($ string )) {
287287 if (self ::matchItem ($ string , $ items )) {
288288 self ::redis ()->rpop ($ tempQueue );
@@ -307,7 +307,7 @@ private static function removeItems($queue, $items = Array())
307307 // remove temp queue and requeue queue
308308 self ::redis ()->del ($ requeueQueue );
309309 self ::redis ()->del ($ tempQueue );
310-
310+
311311 return $ counter ;
312312 }
313313
You can’t perform that action at this time.
0 commit comments