mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-10-16 09:43:18 +01:00
remove PaginatedResourceCollection from goal collection after scramble 0.13 update
This commit is contained in:
@@ -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.
|
* Returns the goals the current member is allowed to see, including the progress in the current period.
|
||||||
*
|
*
|
||||||
* @return GoalCollection<GoalResource>
|
|
||||||
*
|
|
||||||
* @throws AuthorizationException
|
* @throws AuthorizationException
|
||||||
*
|
*
|
||||||
* @operationId getGoals
|
* @operationId getGoals
|
||||||
|
|||||||
@@ -4,13 +4,12 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace App\Http\Resources\V1\Goal;
|
namespace App\Http\Resources\V1\Goal;
|
||||||
|
|
||||||
use App\Http\Resources\PaginatedResourceCollection;
|
|
||||||
use App\Models\Goal;
|
use App\Models\Goal;
|
||||||
use App\Service\Dto\GoalProgressDto;
|
use App\Service\Dto\GoalProgressDto;
|
||||||
use Illuminate\Http\Request;
|
use Illuminate\Http\Request;
|
||||||
use Illuminate\Http\Resources\Json\ResourceCollection;
|
use Illuminate\Http\Resources\Json\ResourceCollection;
|
||||||
|
|
||||||
class GoalCollection extends ResourceCollection implements PaginatedResourceCollection
|
class GoalCollection extends ResourceCollection
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @var array<string, GoalProgressDto>
|
* @var array<string, GoalProgressDto>
|
||||||
|
|||||||
Reference in New Issue
Block a user