@@ -139,8 +139,8 @@ discard block |
||
| 139 | 139 | public function get(array $columns = [], bool $primaryColumn = true): ?Entity |
| 140 | 140 | { |
| 141 | 141 | $result = $this->query($columns, $primaryColumn) |
| 142 | - ->fetchAssoc() |
|
| 143 | - ->get(); |
|
| 142 | + ->fetchAssoc() |
|
| 143 | + ->get(); |
|
| 144 | 144 | |
| 145 | 145 | if ($result === false) { |
| 146 | 146 | return null; |
@@ -289,11 +289,11 @@ discard block |
||
| 289 | 289 | } |
| 290 | 290 | |
| 291 | 291 | /** |
| 292 | - * Find entities record using primary key values |
|
| 293 | - * @param mixed ...$ids |
|
| 294 | - * |
|
| 295 | - * @return array<int, Entity> |
|
| 296 | - */ |
|
| 292 | + * Find entities record using primary key values |
|
| 293 | + * @param mixed ...$ids |
|
| 294 | + * |
|
| 295 | + * @return array<int, Entity> |
|
| 296 | + */ |
|
| 297 | 297 | public function findAll(...$ids): array |
| 298 | 298 | { |
| 299 | 299 | if (is_array($ids[0])) { |
@@ -526,6 +526,6 @@ discard block |
||
| 526 | 526 | protected function transaction(Closure $callback) |
| 527 | 527 | { |
| 528 | 528 | return $this->manager->getConnection() |
| 529 | - ->transaction($callback); |
|
| 529 | + ->transaction($callback); |
|
| 530 | 530 | } |
| 531 | 531 | } |