Explorar el Código

Same fix as commit 755c252 in master for the short alias of \Predis\Commands\Decrement

Daniele Alessandri hace 15 años
padre
commit
c7cd2b67e0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/Predis.php

+ 1 - 1
lib/Predis.php

@@ -688,7 +688,7 @@ class RedisServer__V1_0 extends RedisServerCompatibility {
                 'increment'           => '\Predis\Commands\Increment',
             'incrby'                  => '\Predis\Commands\IncrementBy',
                 'incrementBy'         => '\Predis\Commands\IncrementBy',
-            'incr'                    => '\Predis\Commands\Decrement',
+            'decr'                    => '\Predis\Commands\Decrement',
                 'decrement'           => '\Predis\Commands\Decrement',
             'decrby'                  => '\Predis\Commands\DecrementBy',
                 'decrementBy'         => '\Predis\Commands\DecrementBy',