@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | * |
115 | 115 | * @param int $perPage |
116 | 116 | * |
117 | - * @return Builder[]|Collection|mixed |
|
117 | + * @return \Illuminate\Contracts\Pagination\LengthAwarePaginator |
|
118 | 118 | */ |
119 | 119 | public function paginate(int $perPage) |
120 | 120 | { |
@@ -270,7 +270,7 @@ discard block |
||
270 | 270 | * |
271 | 271 | * @param int|string $modelId |
272 | 272 | * |
273 | - * @return bool|mixed|null |
|
273 | + * @return null|boolean |
|
274 | 274 | * @throws Exception |
275 | 275 | */ |
276 | 276 | public function findAndDelete($modelId) |
@@ -285,7 +285,7 @@ discard block |
||
285 | 285 | * |
286 | 286 | * @param Model $model |
287 | 287 | * |
288 | - * @return bool|mixed|null |
|
288 | + * @return null|boolean |
|
289 | 289 | * @throws Exception |
290 | 290 | */ |
291 | 291 | public function delete($model) |
@@ -316,7 +316,7 @@ discard block |
||
316 | 316 | * |
317 | 317 | * @param int|string $modelId |
318 | 318 | * |
319 | - * @return Builder|Builder[]|Collection|Model|null |
|
319 | + * @return Model |
|
320 | 320 | */ |
321 | 321 | public function findFromTrashed($modelId) |
322 | 322 | { |