refactor: add return type hints to all controller methods

Added proper return types (View, RedirectResponse, JsonResponse, Collection)
to 40+ controller methods across 16 controllers. Also added missing
imports for Illuminate response types and tightened parameter types
(e.g. InstallationController::showStep now uses int instead of mixed).
This commit is contained in:
root
2026-05-19 19:28:21 +02:00
parent 81e99933e4
commit 05fc7b04bc
1001 changed files with 1100 additions and 26101 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ class ShopController extends Controller
private readonly PurchaseService $purchaseService,
) {}
public function __invoke(?WebsiteShopCategory $category)
public function __invoke(?WebsiteShopCategory $category): View
{
$query = WebsiteShopArticle::query()->orderBy('position');