Upgrade package category and dependencies for php8.0

This commit is contained in:
Ludovic CANDELLIER
2022-02-17 11:38:19 +01:00
parent 0399d90ca7
commit 48359525bf
6 changed files with 38 additions and 25 deletions

View File

@@ -12,7 +12,7 @@ class CategoriesDataTable extends DataTable
public function query(Category $model)
{
$model = $model::with(['tags.articles'])->withCount(['articles','tags']);
$model = $model::with(['tags.articles'])->withCount(['articles', 'tags']);
return $this->buildQuery($model);
}