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