Skip to content

Commit 84fb363

Browse files
committed
Fix cs
1 parent 677f923 commit 84fb363

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/DataProvider/Pagination.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ public function getOffset(string $resourceClass = null, string $operationName =
9090
if ($graphql && null !== ($last = $this->getParameterFromContext($context, 'last'))) {
9191
return ($offset = ($context['count'] ?? 0) - $last) < 0 ? 0 : $offset;
9292
}
93-
93+
9494
$offset = ($this->getPage($context) - 1) * $limit;
95-
95+
9696
if (!\is_int($offset)) {
9797
throw new InvalidArgumentException('Page parameter is too large.');
9898
}

0 commit comments

Comments
 (0)