@@ -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) |
@@ -189,6 +189,11 @@ |
||
189 | 189 | return "{$table}.{$relationColumn}"; |
190 | 190 | } |
191 | 191 | |
192 | + /** |
|
193 | + * @param \Illuminate\Database\Eloquent\Model $model |
|
194 | + * |
|
195 | + * @return false|string |
|
196 | + */ |
|
192 | 197 | protected function checkSoftDeletesOnModel($model) |
193 | 198 | { |
194 | 199 | if (in_array('Illuminate\Database\Eloquent\SoftDeletes', class_uses($model))) { |