@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | * |
109 | 109 | * @param int $perPage |
110 | 110 | * |
111 | - * @return Builder[]|Collection|mixed |
|
111 | + * @return \Illuminate\Contracts\Pagination\LengthAwarePaginator |
|
112 | 112 | */ |
113 | 113 | public function paginate(int $perPage) |
114 | 114 | { |
@@ -264,7 +264,7 @@ discard block |
||
264 | 264 | * |
265 | 265 | * @param Model $model |
266 | 266 | * |
267 | - * @return bool|mixed|null |
|
267 | + * @return null|boolean |
|
268 | 268 | * @throws Exception |
269 | 269 | */ |
270 | 270 | public function delete($model) |
@@ -281,7 +281,7 @@ discard block |
||
281 | 281 | * |
282 | 282 | * @param int|string $modelId |
283 | 283 | * |
284 | - * @return bool|mixed|null |
|
284 | + * @return null|boolean |
|
285 | 285 | * @throws Exception |
286 | 286 | */ |
287 | 287 | public function findAndDelete($modelId) |
@@ -326,7 +326,7 @@ discard block |
||
326 | 326 | * |
327 | 327 | * @param int|string $modelId |
328 | 328 | * |
329 | - * @return Builder|Builder[]|Collection|Model|null |
|
329 | + * @return Model |
|
330 | 330 | */ |
331 | 331 | public function findFromTrashed($modelId) |
332 | 332 | { |