Skip to content

Commit cc1aa74

Browse files
committed
Fix php-cs-fixer
1 parent 15cbe03 commit cc1aa74

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/DataProvider/Pagination.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public function getItemsPerPageOptions(): array
200200
{
201201
return array_intersect_key($this->options, array_flip([
202202
'client_items_per_page',
203-
'items_per_page_parameter_name'
203+
'items_per_page_parameter_name',
204204
]));
205205
}
206206

src/GraphQl/Type/FieldsBuilder.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,7 @@ private function convertType(Type $type, bool $input, ?string $queryName, ?strin
437437

438438
if ($this->typeBuilder->isCollection($type)) {
439439
$operationName = $queryName ?? $mutationName;
440+
440441
return $this->pagination->isGraphQlEnabled($resourceClass, $operationName) && !$input ? $this->typeBuilder->getResourcePaginatedCollectionType($graphqlType, $resourceClass, $operationName) : GraphQLType::listOf($graphqlType);
441442
}
442443

src/GraphQl/Type/TypeBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ private function getPageBasedPaginationFields(GraphQLType $resourceType): array
265265

266266
return [
267267
'collection' => GraphQLType::listOf($resourceType),
268-
'paginationMetadata' => GraphQLType::nonNull($paginationMetadataObjectType)
268+
'paginationMetadata' => GraphQLType::nonNull($paginationMetadataObjectType),
269269
];
270270
}
271271
}

0 commit comments

Comments
 (0)