mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-04 13:54:59 +00:00
apply more cs rules for php-cs
This commit is contained in:
@@ -16,4 +16,4 @@ use Redis;
|
||||
/**
|
||||
* Redis client configured by chill main.
|
||||
*/
|
||||
class ChillRedis extends Redis {}
|
||||
class ChillRedis extends \Redis {}
|
||||
|
@@ -11,7 +11,6 @@ declare(strict_types=1);
|
||||
|
||||
namespace Chill\MainBundle\Redis;
|
||||
|
||||
use RuntimeException;
|
||||
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
||||
|
||||
final class RedisConnectionFactory implements EventSubscriberInterface
|
||||
@@ -37,7 +36,7 @@ final class RedisConnectionFactory implements EventSubscriberInterface
|
||||
$result = $this->redis->connect($this->host, $this->port, $this->timeout);
|
||||
|
||||
if (false === $result) {
|
||||
throw new RuntimeException('Could not connect to redis instance');
|
||||
throw new \RuntimeException('Could not connect to redis instance');
|
||||
}
|
||||
|
||||
return $this->redis;
|
||||
|
Reference in New Issue
Block a user