@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Chubbyphp\Model\Doctrine\DBAL; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Chubbyphp\Model\Doctrine\DBAL; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Chubbyphp\Model\Doctrine\DBAL; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Chubbyphp\Model\Doctrine\DBAL; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Chubbyphp\Model\Doctrine\DBAL\Repository; |
| 6 | 6 | |
@@ -205,7 +205,7 @@ discard block |
||
| 205 | 205 | $this->connection->beginTransaction(); |
| 206 | 206 | |
| 207 | 207 | if (!$alreadyExists = (bool) $this->find($id)) { |
| 208 | - $alreadyExists = $this->callbackIfReference($id, $row, function (string $id, array $row) { |
|
| 208 | + $alreadyExists = $this->callbackIfReference($id, $row, function(string $id, array $row) { |
|
| 209 | 209 | $this->insert($id, $row); |
| 210 | 210 | }); |
| 211 | 211 | } |
@@ -258,7 +258,7 @@ discard block |
||
| 258 | 258 | |
| 259 | 259 | $row = $model->toPersistence(); |
| 260 | 260 | |
| 261 | - $this->callbackIfReference($id, $row, function (string $id, array $row) { |
|
| 261 | + $this->callbackIfReference($id, $row, function(string $id, array $row) { |
|
| 262 | 262 | $this->update($id, $row); |
| 263 | 263 | }); |
| 264 | 264 | |