@@ -47,7 +47,7 @@ |
||
| 47 | 47 | |
| 48 | 48 | // TODO: Create factory for instantiation Connection. |
| 49 | 49 | $this->connections[$name] = new Connection( |
| 50 | - function () use ($options) { |
|
| 50 | + function() use ($options) { |
|
| 51 | 51 | return new Socket( |
| 52 | 52 | $options |
| 53 | 53 | ); |
@@ -84,7 +84,7 @@ |
||
| 84 | 84 | $options = new Options(PHPUNIT_CONNECTIONS[$name]); |
| 85 | 85 | |
| 86 | 86 | $connection = new Connection( |
| 87 | - function () use ($options) { |
|
| 87 | + function() use ($options) { |
|
| 88 | 88 | return new Socket( |
| 89 | 89 | $options |
| 90 | 90 | ); |
@@ -50,7 +50,7 @@ |
||
| 50 | 50 | int $token, |
| 51 | 51 | ResponseInterface $response, |
| 52 | 52 | MessageInterface $message |
| 53 | - ) { |
|
| 53 | + ){ |
|
| 54 | 54 | $this->connection = $connection; |
| 55 | 55 | $this->token = $token; |
| 56 | 56 | $this->addResponse($response); |
@@ -65,7 +65,7 @@ |
||
| 65 | 65 | string $dbName, |
| 66 | 66 | SerializerInterface $querySerializer, |
| 67 | 67 | SerializerInterface $responseSerializer |
| 68 | - ) { |
|
| 68 | + ){ |
|
| 69 | 69 | $this->streamWrapper = $streamWrapper; |
| 70 | 70 | $this->dbName = $dbName; |
| 71 | 71 | $this->handshake = $handshake; |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | MessageInterface $message, |
| 32 | 32 | QueryInterface $query, |
| 33 | 33 | array $documents |
| 34 | - ) { |
|
| 34 | + ){ |
|
| 35 | 35 | parent::__construct($rethink, $message); |
| 36 | 36 | |
| 37 | 37 | $this->query = $query; |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | MessageInterface $message, |
| 32 | 32 | QueryInterface $query, |
| 33 | 33 | $key |
| 34 | - ) { |
|
| 34 | + ){ |
|
| 35 | 35 | parent::__construct($rethink, $message); |
| 36 | 36 | |
| 37 | 37 | $this->query = $query; |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | MessageInterface $message, |
| 33 | 33 | QueryInterface $query, |
| 34 | 34 | array $elements |
| 35 | - ) { |
|
| 35 | + ){ |
|
| 36 | 36 | parent::__construct($rethink, $message); |
| 37 | 37 | |
| 38 | 38 | $this->query = $query; |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | MessageInterface $message, |
| 31 | 31 | QueryInterface $query, |
| 32 | 32 | array $predicate |
| 33 | - ) { |
|
| 33 | + ){ |
|
| 34 | 34 | parent::__construct($rethink, $message); |
| 35 | 35 | |
| 36 | 36 | $this->query = $query; |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | MessageInterface $message, |
| 32 | 32 | QueryInterface $query, |
| 33 | 33 | $key |
| 34 | - ) { |
|
| 34 | + ){ |
|
| 35 | 35 | parent::__construct($rethink, $message); |
| 36 | 36 | |
| 37 | 37 | $this->query = $query; |