Total Complexity | 2 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | final class PaginationInputType extends InputObjectType |
||
11 | { |
||
12 | public static function build(Types $types): array |
||
13 | { |
||
14 | return [ |
||
15 | 'name' => 'pagination', |
||
16 | 'type' => $types->get(self::class), |
||
17 | 'defaultValue' => [ |
||
18 | 'offset' => null, |
||
19 | 'pageIndex' => 0, |
||
20 | 'pageSize' => 50, |
||
21 | ], |
||
22 | ]; |
||
23 | } |
||
24 | |||
25 | public function __construct() |
||
49 | } |
||
50 | } |
||
51 |