mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-13 18:24:58 +00:00
apply more cs rules for php-cs
This commit is contained in:
@@ -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