mirror of
https://github.com/predis/predis.git
synced 2026-09-18 06:17:08 +00:00
Minor CS fixes.
This commit is contained in:
@@ -257,7 +257,8 @@ class PhpiredisConnection extends ConnectionBase
|
||||
* @param IConnectionParameters $parameters Parameters used to initialize the connection.
|
||||
* @return string
|
||||
*/
|
||||
private function connectWithTimeout(IConnectionParameters $parameters) {
|
||||
private function connectWithTimeout(IConnectionParameters $parameters)
|
||||
{
|
||||
$host = self::getAddress($parameters);
|
||||
$socket = $this->getResource();
|
||||
|
||||
|
||||
@@ -186,7 +186,8 @@ class StreamConnection extends ConnectionBase
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function read() {
|
||||
public function read()
|
||||
{
|
||||
$socket = $this->getResource();
|
||||
|
||||
$chunk = fgets($socket);
|
||||
|
||||
Reference in New Issue
Block a user