@@ -88,10 +88,10 @@ |
||
88 | 88 | public function getById(string $table, mixed $id): ?Model |
89 | 89 | { |
90 | 90 | $query = (new QueryBuilder($this->connection, $this->modelManager)) |
91 | - ->select('*') |
|
92 | - ->from($table, 't') |
|
93 | - ->where('t.id = ?') |
|
94 | - ->setParameter(0, $id); |
|
91 | + ->select('*') |
|
92 | + ->from($table, 't') |
|
93 | + ->where('t.id = ?') |
|
94 | + ->setParameter(0, $id); |
|
95 | 95 | |
96 | 96 | return $query->first(); |
97 | 97 | } |