@@ -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 | |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | } |
| 49 | 49 | } |
| 50 | 50 | |
| 51 | - public static function createFromParams(?string $isolationLevel, ?bool $readOnly, ?bool $deferrable): TxConfig |
|
| 51 | + public static function createFromParams(?string $isolationLevel, ?bool $readOnly, ?bool $deferrable) : TxConfig |
|
| 52 | 52 | { |
| 53 | 53 | $txConf = new TxConfig(); |
| 54 | 54 | $txConf->setReadOnly($readOnly); |
@@ -144,7 +144,7 @@ discard block |
||
| 144 | 144 | return $this->readOnly; |
| 145 | 145 | } |
| 146 | 146 | |
| 147 | - public function setReadOnly(?bool $readOnly): TxConfig |
|
| 147 | + public function setReadOnly(?bool $readOnly) : TxConfig |
|
| 148 | 148 | { |
| 149 | 149 | $this->readOnly = $readOnly; |
| 150 | 150 | return $this; |
@@ -155,7 +155,7 @@ discard block |
||
| 155 | 155 | return $this->deferrable; |
| 156 | 156 | } |
| 157 | 157 | |
| 158 | - public function setDeferrable(?bool $deferrable): TxConfig |
|
| 158 | + public function setDeferrable(?bool $deferrable) : TxConfig |
|
| 159 | 159 | { |
| 160 | 160 | $this->deferrable = $deferrable; |
| 161 | 161 | return $this; |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Ivory\Connection\Config; |
| 5 | 5 | |
@@ -68,5 +68,5 @@ |
||
| 68 | 68 | * @return IRelationDefinition definition of relation containing at most <tt>$limit</tt> tuples, skipping the first |
| 69 | 69 | * <tt>$offset</tt> tuples |
| 70 | 70 | */ |
| 71 | - function limit(?int $limit, int $offset = 0): IRelationDefinition; |
|
| 71 | + function limit(?int $limit, int $offset = 0) : IRelationDefinition; |
|
| 72 | 72 | } |