@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | |
| 18 | 18 | public function __construct(RedisClientInterface $redisClient) |
| 19 | 19 | { |
| 20 | - $this->redisClient = $redisClient; |
|
| 20 | + $this->redisClient=$redisClient; |
|
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | final public static function createWithPredis(PredisClient $predisClient) : self |
@@ -36,11 +36,11 @@ discard block |
||
| 36 | 36 | |
| 37 | 37 | final public function runCommand(CommandInterface $command) |
| 38 | 38 | { |
| 39 | - $response = $this->redisClient->rawCommand( |
|
| 39 | + $response=$this->redisClient->rawCommand( |
|
| 40 | 40 | $command->getCommand(), |
| 41 | 41 | $command->getArguments() |
| 42 | 42 | ); |
| 43 | - $callback = $command->getResponseCallback(); |
|
| 43 | + $callback=$command->getResponseCallback(); |
|
| 44 | 44 | return $callback ? $callback($response) : $response; |
| 45 | 45 | } |
| 46 | 46 | |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | |
| 13 | 13 | public function __construct(RedisClient $redisClient) |
| 14 | 14 | { |
| 15 | - $this->redisClient = $redisClient; |
|
| 15 | + $this->redisClient=$redisClient; |
|
| 16 | 16 | } |
| 17 | 17 | |
| 18 | 18 | public function getClient() : RedisClient |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | |
| 13 | 13 | public function __construct(RedisClient $redisClient) |
| 14 | 14 | { |
| 15 | - $this->redisClient = $redisClient; |
|
| 15 | + $this->redisClient=$redisClient; |
|
| 16 | 16 | } |
| 17 | 17 | |
| 18 | 18 | public function getClient() : RedisClient |