mirror of
https://github.com/predis/predis.git
synced 2026-10-11 06:17:10 +00:00
Apply code styling fixes.
There is actually no need for such indentations.
This commit is contained in:
@@ -176,13 +176,13 @@ class StreamConnection extends AbstractConnection
|
||||
public function read()
|
||||
{
|
||||
$socket = $this->getResource();
|
||||
$chunk = fgets($socket);
|
||||
$chunk = fgets($socket);
|
||||
|
||||
if ($chunk === false || $chunk === '') {
|
||||
$this->onConnectionError('Error while reading line from the server');
|
||||
}
|
||||
|
||||
$prefix = $chunk[0];
|
||||
$prefix = $chunk[0];
|
||||
$payload = substr($chunk, 1, -2);
|
||||
|
||||
switch ($prefix) {
|
||||
|
||||
Reference in New Issue
Block a user