@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | * |
38 | 38 | * @access public |
39 | 39 | * @param FlexibleEntityInterface $entity |
40 | - * @return Model $this |
|
40 | + * @return WriteQueries $this |
|
41 | 41 | */ |
42 | 42 | public function insertOne(FlexibleEntityInterface &$entity) |
43 | 43 | { |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | * @access public |
77 | 77 | * @param FlexibleEntityInterface $entity |
78 | 78 | * @param array $fields |
79 | - * @return Model $this |
|
79 | + * @return WriteQueries $this |
|
80 | 80 | */ |
81 | 81 | public function updateOne(FlexibleEntityInterface &$entity, array $fields = []) |
82 | 82 | { |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | * |
149 | 149 | * @access public |
150 | 150 | * @param FlexibleEntityInterface $entity |
151 | - * @return Model $this |
|
151 | + * @return WriteQueries $this |
|
152 | 152 | */ |
153 | 153 | public function deleteOne(FlexibleEntityInterface &$entity) |
154 | 154 | { |
@@ -183,7 +183,7 @@ discard block |
||
183 | 183 | * |
184 | 184 | * Delete records by a given condition. A collection of all deleted entries is returned. |
185 | 185 | * |
186 | - * @param $where |
|
186 | + * @param Where $where |
|
187 | 187 | * @param array $values |
188 | 188 | * @return CollectionIterator |
189 | 189 | */ |
@@ -218,7 +218,7 @@ discard block |
||
218 | 218 | * |
219 | 219 | * @param bool $cascade |
220 | 220 | * @param bool $restart |
221 | - * @return Model $this |
|
221 | + * @return WriteQueries $this |
|
222 | 222 | */ |
223 | 223 | public function truncate($cascade = false, $restart = false) |
224 | 224 | { |