@@ -242,7 +242,7 @@ discard block |
||
| 242 | 242 | if (!$this->isConnected()) { |
| 243 | 243 | /** @var IOException $e */ |
| 244 | 244 | $e = null; |
| 245 | - $errhandler = function () use (&$e) { |
|
| 245 | + $errhandler = function() use (&$e) { |
|
| 246 | 246 | $e = new IOException(sprintf( |
| 247 | 247 | 'Could not open connection for %s using mode %s', |
| 248 | 248 | $this->getUri(), |
@@ -545,7 +545,7 @@ discard block |
||
| 545 | 545 | |
| 546 | 546 | return $this; |
| 547 | 547 | } |
| 548 | - throw new InvalidArgumentException('Context options must be an array, got: ' . gettype($options)); |
|
| 548 | + throw new InvalidArgumentException('Context options must be an array, got: '.gettype($options)); |
|
| 549 | 549 | } |
| 550 | 550 | |
| 551 | 551 | /** |
@@ -569,7 +569,7 @@ discard block |
||
| 569 | 569 | |
| 570 | 570 | return $this; |
| 571 | 571 | } |
| 572 | - throw new InvalidArgumentException('Context parameters must be an array, got: ' . gettype($params)); |
|
| 572 | + throw new InvalidArgumentException('Context parameters must be an array, got: '.gettype($params)); |
|
| 573 | 573 | } |
| 574 | 574 | |
| 575 | 575 | /** |