@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | |
45 | 45 | $cursorOffset = $offset - 1; |
46 | 46 | foreach ($results as $result) { |
47 | - $cursorOffset ++; |
|
47 | + $cursorOffset++; |
|
48 | 48 | |
49 | 49 | if (!$this->connection->getPageInfo()->getStartCursor()) { |
50 | 50 | $this->connection->getPageInfo()->setStartCursor($this->encodeCursor($offset)); |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | if ($pagination->getLast()) { |
117 | 117 | $offset = $count - $pagination->getLast(); |
118 | 118 | if ($offset < $this->decodeCursor($pagination->getAfter())) { |
119 | - $offset = $this->decodeCursor($pagination->getAfter()) + 1; |
|
119 | + $offset = $this->decodeCursor($pagination->getAfter()) + 1; |
|
120 | 120 | } |
121 | 121 | } else { |
122 | 122 | $offset = $this->decodeCursor($pagination->getAfter()) + 1; |