Переглянути джерело

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

Daniele Alessandri 15 роки тому
батько
коміт
c7cd2b67e0
1 змінених файлів з 1 додано та 1 видалено
  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',