Skip to content

Commit

Permalink
DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Dec 3, 2024
1 parent 448618f commit a2fb312
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tests/mutex/PHPRedisMutexTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,22 @@
if (\PHP_MAJOR_VERSION >= 8) {
trait RedisTestTrait
{
/**
* @param bool $script
* @param bool $args
* @param bool $numKeys
*/
#[\Override]
public function eval($script, $args = [], $numKeys = 0): mixed
{
return $this->_eval($script, $args, $numKeys);
}

/**
* @param bool $key
* @param bool $value
* @param bool $options
*/
#[\Override]
public function set($key, $value, $options = null): /* \Redis|string| */ bool
{
Expand All @@ -26,6 +36,10 @@ public function set($key, $value, $options = null): /* \Redis|string| */ bool
trait RedisTestTrait
{
/**
* @param bool $script
* @param bool $args
* @param bool $numKeys
*
* @return mixed
*/
#[\Override]
Expand All @@ -35,6 +49,10 @@ public function eval($script, $args = [], $numKeys = 0)
}

/**
* @param bool $key
* @param bool $value
* @param bool $options
*
* @return \Redis|string|bool
*/
#[\Override]
Expand Down

0 comments on commit a2fb312

Please sign in to comment.