Skip to content

Commit cf55eab

Browse files
committed
pagination: relax underlying field also for SimplePagination
1 parent db53a3c commit cf55eab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ CHANGELOG
44
[Next release](https://github.com/rebing/graphql-laravel/compare/9.4.0...master)
55

66
### Fixed
7-
- Relax PaginationType getPaginationFields typehint [\#1132 / jasonvarga](https://github.com/rebing/graphql-laravel/pull/1132)
7+
- Relax PaginationType/SimplePaginationType getPaginationFields typehint [\#1132 / jasonvarga](https://github.com/rebing/graphql-laravel/pull/1132)
88

99
2024-03-04, 9.4.0
1010
-----------------

src/Support/SimplePaginationType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function __construct(string $typeName, string $customName = null)
3232
/**
3333
* @return array<string, array<string,mixed>>
3434
*/
35-
protected function getPaginationFields(ObjectType $underlyingType): array
35+
protected function getPaginationFields(GraphQLType $underlyingType): array
3636
{
3737
return [
3838
'data' => [

0 commit comments

Comments
 (0)