Completed
Push — master ( dfcebf...a7b543 )
by Beñat
01:49
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
 
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
         return $this->execute($sql, $parameters)->fetchAll(\PDO::FETCH_ASSOC);
34 34
     }
35 35
 
36
-    public function singleQuery(string $sql, array $parameters) : ?array
36
+    public function singleQuery(string $sql, array $parameters) : ? array
37 37
     {
38 38
         $result = $this->execute($sql, $parameters)->fetch(\PDO::FETCH_ASSOC);
39 39
 
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
 
81 81
             $this->pdo->commit();
82 82
 
83
-            return $return ?: true;
83
+            return $return ? : true;
84 84
         } catch (\Exception | \Throwable $exception) {
85 85
             $this->pdo->rollback();
86 86
 
Please login to merge, or discard this patch.