@@ -9,7 +9,7 @@ discard block |
||
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 |
||
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 |
||
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 |