for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Redislabs\RedisClient;
use Redislabs\Interfaces\RedisClientInterface;
use Redis as RedisClient;
final class Redis implements RedisClientInterface
{
private $redisClient;
public function __construct(RedisClient $redisClient)
$this->redisClient = $redisClient;
}
public function getClient() : RedisClient
return $this->redisClient;
public function rawCommand(string $command, array $arguments)
return $this->redisClient->rawCommand($command, ...$arguments);
$arguments
Redis::rawCommand()
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
ignore-type
return $this->redisClient->rawCommand($command, /** @scrutinizer ignore-type */ ...$arguments);