Completed
Push — master ( 679558...de1094 )
by Dominik
01:55
created
src/Repository/AbstractDoctrineRepository.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.