@@ -69,15 +69,15 @@ |
||
69 | 69 | } |
70 | 70 | |
71 | 71 | /** |
72 | - * Get single record by id |
|
73 | - * |
|
74 | - */ |
|
72 | + * Get single record by id |
|
73 | + * |
|
74 | + */ |
|
75 | 75 | public function getById($table, mixed $id): Model|null |
76 | 76 | { |
77 | 77 | $query = (new QueryBuilder($this->connection,$this->modelManager)) |
78 | - ->select('*') |
|
79 | - ->from($table, 't') |
|
80 | - ->where("t.id = '".$id."'"); |
|
78 | + ->select('*') |
|
79 | + ->from($table, 't') |
|
80 | + ->where("t.id = '".$id."'"); |
|
81 | 81 | return $query->first(); |
82 | 82 | } |
83 | 83 |