Completed
Push — master ( 5ef80d...669d28 )
by Beñat
02:38
created
src/LIN3S/SharedKernel/Infrastructure/Persistence/Sql/Pdo.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace LIN3S\SharedKernel\Infrastructure\Persistence\Sql;
15 15
 
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
     public function count(string $sql, array $parameters = []) : int
37 37
     {
38
-        return (int)$this->execute($sql, $parameters)->fetchColumn();
38
+        return (int) $this->execute($sql, $parameters)->fetchColumn();
39 39
     }
40 40
 
41 41
     public function insert(string $table, array $parameters) : void
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
 
93 93
             $this->pdo->commit();
94 94
 
95
-            return $return ?: true;
95
+            return $return ? : true;
96 96
         } catch (\Exception | \Throwable $exception) {
97 97
             $this->pdo->rollback();
98 98
 
Please login to merge, or discard this patch.