Quellcode durchsuchen

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

Daniele Alessandri vor 15 Jahren
Ursprung
Commit
c7cd2b67e0
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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',