src/Illuminate/Redis/Connectors/PhpRedisConnector.php
Method createClient
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function createClient(array $config)
{
return tap(new Redis, function ($client) use ($config) {
if ($client instanceof RedisFacade) {
throw new LogicException(
Method createRedisClusterInstance
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function createRedisClusterInstance(array $servers, array $options)
{
$parameters = [
null,
array_values($servers),