From de05e9da461e04c7346dde431134382ccfa21ee3 Mon Sep 17 00:00:00 2001 From: Gregor Vostrak Date: Thu, 8 Oct 2026 18:02:26 +0200 Subject: [PATCH] remove PaginatedResourceCollection from goal collection after scramble 0.13 update --- app/Http/Controllers/Api/V1/GoalController.php | 2 -- app/Http/Resources/V1/Goal/GoalCollection.php | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/app/Http/Controllers/Api/V1/GoalController.php b/app/Http/Controllers/Api/V1/GoalController.php index 3bc4a641..69f86cec 100644 --- a/app/Http/Controllers/Api/V1/GoalController.php +++ b/app/Http/Controllers/Api/V1/GoalController.php @@ -68,8 +68,6 @@ class GoalController extends Controller * * Returns the goals the current member is allowed to see, including the progress in the current period. * - * @return GoalCollection - * * @throws AuthorizationException * * @operationId getGoals diff --git a/app/Http/Resources/V1/Goal/GoalCollection.php b/app/Http/Resources/V1/Goal/GoalCollection.php index 9968b3f1..81fb0d46 100644 --- a/app/Http/Resources/V1/Goal/GoalCollection.php +++ b/app/Http/Resources/V1/Goal/GoalCollection.php @@ -4,13 +4,12 @@ declare(strict_types=1); namespace App\Http\Resources\V1\Goal; -use App\Http\Resources\PaginatedResourceCollection; use App\Models\Goal; use App\Service\Dto\GoalProgressDto; use Illuminate\Http\Request; use Illuminate\Http\Resources\Json\ResourceCollection; -class GoalCollection extends ResourceCollection implements PaginatedResourceCollection +class GoalCollection extends ResourceCollection { /** * @var array