Skip to content

Commit 8bbb117

Browse files
authored
Merge branch 'v2.x' into vv-geoshape-queries
2 parents f6f0dec + 5d22ed7 commit 8bbb117

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/Command/Processor/KeyPrefixProcessor.php

+1
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ public function __construct($prefix)
9494
'SDIFF' => $prefixAll,
9595
'SDIFFSTORE' => $prefixAll,
9696
'SMEMBERS' => $prefixFirst,
97+
'SMISMEMBER' => $prefixFirst,
9798
'SRANDMEMBER' => $prefixFirst,
9899
'ZADD' => $prefixFirst,
99100
'ZINCRBY' => $prefixFirst,

tests/Predis/Command/Processor/KeyPrefixProcessorTest.php

+4
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,10 @@ public function commandArgumentsDataProvider(): array
633633
['key'],
634634
['prefix:key'],
635635
],
636+
['SMISMEMBER',
637+
['key', 'member1', 'member2', 'member3'],
638+
['prefix:key', 'member1', 'member2', 'member3'],
639+
],
636640
['SRANDMEMBER',
637641
['key', 1],
638642
['prefix:key', 1],

0 commit comments

Comments
 (0)