@@ -40,7 +40,7 @@ class FakeGetRequest extends MockIncomingRequest
|
||||
}
|
||||
}
|
||||
|
||||
class StubPager
|
||||
class AssignmentStubPager
|
||||
{
|
||||
public function __construct(private readonly int $current, private readonly int $perPage, private readonly int $total)
|
||||
{
|
||||
@@ -84,7 +84,7 @@ class StubAssignmentModel
|
||||
|
||||
public function paginate(int $perPage, string $group, int $page)
|
||||
{
|
||||
$this->pager = new StubPager($this->pagerData['current'], $this->pagerData['perPage'], $this->pagerData['total']);
|
||||
$this->pager = new AssignmentStubPager($this->pagerData['current'], $this->pagerData['perPage'], $this->pagerData['total']);
|
||||
return $this->findAllResult;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user