@@ -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,9 @@ |
||
| 184 | 184 | return $table . '.' . $relationColumn; |
| 185 | 185 | } |
| 186 | 186 | |
| 187 | + /** |
|
| 188 | + * @return false|string |
|
| 189 | + */ |
|
| 187 | 190 | protected function checkSoftDeletesOnModel($model) |
| 188 | 191 | { |
| 189 | 192 | if (in_array('Illuminate\Database\Eloquent\SoftDeletes', class_uses($model))) { |