Use PSR-12 code style

This commit is contained in:
James Cole
2022-10-30 14:24:19 +01:00
parent 64ff5eed27
commit 2eebcb21f1
60 changed files with 103 additions and 158 deletions

View File

@@ -81,7 +81,7 @@ class IndexController extends Controller
$collection->each(
function (Category $category) {
$category->lastActivity = $this->repository->lastUseDate($category, new Collection);
$category->lastActivity = $this->repository->lastUseDate($category, new Collection());
}
);
@@ -91,5 +91,4 @@ class IndexController extends Controller
return view('categories.index', compact('categories'));
}
}