Эх сурвалжийг харах

Fixed a bug in the registration of the RPOPLPUSH command.

Daniele Alessandri 15 жил өмнө
parent
commit
a35faf2df6
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      lib/Predis.php

+ 1 - 1
lib/Predis.php

@@ -1400,7 +1400,7 @@ class RedisServer_v1_2 extends RedisServer_v1_0 {
                 'setMultiplePreserve' => '\Predis\Commands\SetMultiplePreserve',
 
             /* commands operating on lists */
-            'rpoplpush'        => '\Predis\Commands\ListPushTailPopFirst',
+            'rpoplpush'        => '\Predis\Commands\ListPopLastPushHead',
                 'listPopLastPushHead'  => '\Predis\Commands\ListPopLastPushHead',
 
             /* commands operating on sorted sets */