@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | * Create a new Eloquent query builder instance. |
51 | 51 | * |
52 | 52 | * @param \Childish\query\Builder $query |
53 | - * @return mixed|void |
|
53 | + * @return ChildishModel |
|
54 | 54 | */ |
55 | 55 | public function __construct(Builder $query) |
56 | 56 | { |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | * insert |
98 | 98 | * |
99 | 99 | * @param $values |
100 | - * @return int |
|
100 | + * @return boolean |
|
101 | 101 | */ |
102 | 102 | public function insert($values) |
103 | 103 | { |
@@ -196,7 +196,7 @@ discard block |
||
196 | 196 | /** |
197 | 197 | * Execute the query and get the first result. |
198 | 198 | * |
199 | - * @param array $columns |
|
199 | + * @param string[] $columns |
|
200 | 200 | * @return \Childish\ChildishModel|static|null |
201 | 201 | */ |
202 | 202 | public function first($columns = ['*']) |
@@ -312,7 +312,7 @@ discard block |
||
312 | 312 | /** |
313 | 313 | * Delete a record from the database. |
314 | 314 | * |
315 | - * @return mixed |
|
315 | + * @return integer |
|
316 | 316 | */ |
317 | 317 | public function delete() |
318 | 318 | { |