Skip to content

Commit

Permalink
Apply fix for deprecated zUnion and zInter
Browse files Browse the repository at this point in the history
  • Loading branch information
owenvoke committed Jul 9, 2019
1 parent 0f2cb2b commit 6c551c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Redis/Connections/PhpRedisConnection.php
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ public function zrevrangebyscore($key, $min, $max, $options = [])
*/
public function zinterstore($output, $keys, $options = [])
{
return $this->command('zInter', [$output, $keys,
return $this->command('zInterstore', [$output, $keys,
$options['weights'] ?? null,
$options['aggregate'] ?? 'sum',
]);
Expand All @@ -284,7 +284,7 @@ public function zinterstore($output, $keys, $options = [])
*/
public function zunionstore($output, $keys, $options = [])
{
return $this->command('zUnion', [$output, $keys,
return $this->command('zUnionstore', [$output, $keys,
$options['weights'] ?? null,
$options['aggregate'] ?? 'sum',
]);
Expand Down

0 comments on commit 6c551c1

Please sign in to comment.