@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | * @param array $params |
| 32 | 32 | * @return integer |
| 33 | 33 | */ |
| 34 | - public function exec(string $sql, array $params=array()): int |
|
| 34 | + public function exec(string $sql, array $params = array()): int |
|
| 35 | 35 | { |
| 36 | 36 | return $this->connection->executeStatement($sql, $params); |
| 37 | 37 | } |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | * @param array $params |
| 44 | 44 | * @return array |
| 45 | 45 | */ |
| 46 | - public function getAll(string $sql, array $params=[]): array |
|
| 46 | + public function getAll(string $sql, array $params = []): array |
|
| 47 | 47 | { |
| 48 | 48 | return $this->connection->executeQuery($sql, $params)->fetchAllAssociative(); |
| 49 | 49 | } |
@@ -224,7 +224,7 @@ discard block |
||
| 224 | 224 | * @param mixed|null $id |
| 225 | 225 | * @return mixed |
| 226 | 226 | */ |
| 227 | - public function get(String $table, mixed $id=null) : mixed |
|
| 227 | + public function get(String $table, mixed $id = null) : mixed |
|
| 228 | 228 | { |
| 229 | 229 | if (is_null($id)) { |
| 230 | 230 | return $this->recordManager->getAll($table); |