@@ -146,7 +146,7 @@ |
||
146 | 146 | foreach ($sentinelOpts as $option => $value) { |
147 | 147 | DynamicMethod::parseFromUnderscore($option) |
148 | 148 | ->prepend('set') |
149 | - ->callOn($client, [ $value ]); |
|
149 | + ->callOn($client, [$value]); |
|
150 | 150 | } |
151 | 151 | } |
152 | 152 | } |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | $method = 'subscribe' |
127 | 127 | ) { |
128 | 128 | $this->retryOnFailure(function () use ($method, $channels, $callback) { |
129 | - $loop = $this->pubSubLoop([ $method => (array) $channels ]); |
|
129 | + $loop = $this->pubSubLoop([$method => (array) $channels]); |
|
130 | 130 | |
131 | 131 | if ($method === 'psubscribe') { |
132 | 132 | $messageKind = 'pmessage'; |
@@ -201,7 +201,7 @@ discard block |
||
201 | 201 | */ |
202 | 202 | public function getClientFor($connectionID) |
203 | 203 | { |
204 | - if (! $connection = $this->getConnectionById($connectionID)) { |
|
204 | + if (!$connection = $this->getConnectionById($connectionID)) { |
|
205 | 205 | throw new InvalidArgumentException( |
206 | 206 | "Invalid connection ID: $connectionID." |
207 | 207 | ); |