@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Ivory\Connection; |
| 5 | 5 | |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | } |
| 66 | 66 | } |
| 67 | 67 | |
| 68 | - public function connect(?\Closure $initProcedure = null): bool |
|
| 68 | + public function connect(?\Closure $initProcedure = null) : bool |
|
| 69 | 69 | { |
| 70 | 70 | if ($this->handler === null) { |
| 71 | 71 | $this->initProcedure = $initProcedure; |
@@ -240,7 +240,7 @@ discard block |
||
| 240 | 240 | * |
| 241 | 241 | * @param string|null $notice last notice received on this connection |
| 242 | 242 | */ |
| 243 | - public function setLastNotice(?string $notice): void |
|
| 243 | + public function setLastNotice(?string $notice) : void |
|
| 244 | 244 | { |
| 245 | 245 | $this->lastNotice = $notice; |
| 246 | 246 | } |