@@ -450,7 +450,7 @@ |
||
| 450 | 450 | /** |
| 451 | 451 | * Prepare count query builder. |
| 452 | 452 | * |
| 453 | - * @return \Illuminate\Database\Eloquent\Builder|\Illuminate\Database\Query\Builder |
|
| 453 | + * @return string |
|
| 454 | 454 | */ |
| 455 | 455 | protected function prepareCountQuery() |
| 456 | 456 | { |
@@ -129,7 +129,6 @@ |
||
| 129 | 129 | /** |
| 130 | 130 | * DataTables using Collection. |
| 131 | 131 | * |
| 132 | - * @param \Illuminate\Http\Resources\Json\AnonymousResourceCollection|array $collection |
|
| 133 | 132 | * @return DataTableAbstract|ApiResourceDataTable |
| 134 | 133 | */ |
| 135 | 134 | public function resource($resource) |
@@ -184,6 +184,11 @@ |
||
| 184 | 184 | return $table . '.' . $relationColumn; |
| 185 | 185 | } |
| 186 | 186 | |
| 187 | + /** |
|
| 188 | + * @param \Illuminate\Database\Eloquent\Model $model |
|
| 189 | + * |
|
| 190 | + * @return false|string |
|
| 191 | + */ |
|
| 187 | 192 | protected function checkSoftDeletesOnModel($model) |
| 188 | 193 | { |
| 189 | 194 | if (in_array('Illuminate\Database\Eloquent\SoftDeletes', class_uses($model))) { |