Skip to content

Commit

Permalink
#521 phpredis: Remove unsupported functions from our subclasses
Browse files Browse the repository at this point in the history
  • Loading branch information
ostrolucky committed Oct 23, 2021
1 parent b2ada87 commit a2e9f88
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 96 deletions.
8 changes: 0 additions & 8 deletions Client/Phpredis/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -231,14 +231,6 @@ public function del($key, ...$other_keys)
return $this->call('del', array_merge([$key], $other_keys));
}

/**
* {@inheritdoc}
*/
public function delete($key, ...$other_keys)
{
return $this->call('delete', array_merge([$key], $other_keys));
}

/**
* {@inheritdoc}
*/
Expand Down
88 changes: 0 additions & 88 deletions Client/Phpredis/ClientCluster.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,22 +170,6 @@ public function del($key, ...$other_keys)
return $this->call('del', array_merge([$key], $other_keys));
}

/**
* {@inheritdoc}
*/
public function delete($key, ...$other_keys)
{
return $this->call('delete', array_merge([$key], $other_keys));
}

/**
* {@inheritdoc}
*/
public function unlink($key, ...$other_keys)
{
return $this->call('unlink', array_merge([$key], $other_keys));
}

/**
* {@inheritdoc}
*/
Expand Down Expand Up @@ -458,14 +442,6 @@ public function lTrim($key, $start, $stop)
return $this->call('lTrim', func_get_args());
}

/**
* {@inheritdoc}
*/
public function listTrim($key, $start, $stop)
{
return $this->call('listTrim', func_get_args());
}

/**
* {@inheritdoc}
*/
Expand All @@ -474,14 +450,6 @@ public function lRem($key, $value)
return $this->call('lRem', func_get_args());
}

/**
* {@inheritdoc}
*/
public function lRemove($key, $value, $count)
{
return $this->call('lRemove', func_get_args());
}

/**
* {@inheritdoc}
*/
Expand All @@ -506,14 +474,6 @@ public function sRem($key, $member, ...$other_members)
return $this->call('sRem', array_merge([$key, $member], $other_members));
}

/**
* {@inheritdoc}
*/
public function sRemove($key, $member, ...$other_members)
{
return $this->call('sRemove', array_merge([$key, $member], $other_members));
}

/**
* {@inheritdoc}
*/
Expand All @@ -530,14 +490,6 @@ public function sIsMember($key, $value)
return $this->call('sIsMember', func_get_args());
}

/**
* {@inheritdoc}
*/
public function sContains($key, $value)
{
return $this->call('sContains', func_get_args());
}

/**
* {@inheritdoc}
*/
Expand Down Expand Up @@ -618,14 +570,6 @@ public function sMembers($key)
return $this->call('sMembers', func_get_args());
}

/**
* {@inheritdoc}
*/
public function sGetMembers($key)
{
return $this->call('sGetMembers', func_get_args());
}

/**
* {@inheritdoc}
*/
Expand Down Expand Up @@ -914,14 +858,6 @@ public function info($key_or_address, $option = null)
return $this->call('info', func_get_args());
}

/**
* {@inheritdoc}
*/
public function resetStat()
{
return $this->call('resetStat', func_get_args());
}

/**
* {@inheritdoc}
*/
Expand Down Expand Up @@ -1426,30 +1362,6 @@ public function getMode()
return $this->call('getMode', func_get_args());
}

/**
* {@inheritdoc}
*/
public function xAck($stream, $group, $arr_messages)
{
return $this->call('xAck', func_get_args());
}

/**
* {@inheritdoc}
*/
public function xAdd($str_key, $str_id, array $arr_fields, $i_maxlen = null, $boo_approximate = null)
{
return $this->call('xAdd', func_get_args());
}

/**
* {@inheritdoc}
*/
public function xClaim($str_key, $str_group, $str_consumer, $min_idle_time, $arr_ids, $arr_options = [])
{
return $this->call('xClaim', func_get_args());
}

/**
* {@inheritdoc}
*/
Expand Down

0 comments on commit a2e9f88

Please sign in to comment.