Fix prefix processor to handle variadic EXISTS (Redis >= 3.0.3).

This commit is contained in:
Daniele Alessandri
2015-07-24 18:15:21 +02:00
parent 6590c44a27
commit df2e9f4e71
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ class KeyPrefixProcessor implements ProcessorInterface
$this->prefix = $prefix;
$this->commands = array(
/* ---------------- Redis 1.2 ---------------- */
'EXISTS' => 'self::first',
'EXISTS' => 'self::all',
'DEL' => 'self::all',
'TYPE' => 'self::first',
'KEYS' => 'self::first',