Update phpstan level to 6

This commit is contained in:
DariusIII
2026-02-11 14:02:26 +01:00
parent eed6250518
commit f4c444c9b0
291 changed files with 3684 additions and 1089 deletions
+3 -3
View File
@@ -20,7 +20,7 @@ class BrowseController extends BasePageController
/**
* @throws \Exception
*/
public function index(Request $request)
public function index(Request $request): mixed
{
$ordering = $this->releaseBrowseService->getBrowseOrdering();
$orderBy = $request->has('ob') && ! empty($request->input('ob')) ? $request->input('ob') : '';
@@ -52,7 +52,7 @@ class BrowseController extends BasePageController
/**
* @throws \Exception
*/
public function show(Request $request, string $parentCategory, string $id = 'All')
public function show(Request $request, string $parentCategory, string $id = 'All'): mixed
{
$parentId = RootCategory::query()->where('title', $parentCategory)->value('id');
@@ -158,7 +158,7 @@ class BrowseController extends BasePageController
/**
* @throws \Exception
*/
public function group(Request $request)
public function group(Request $request): mixed
{
if ($request->has('g')) {
$group = $request->input('g');