Completed
Push — master ( df309f...9e12f0 )
by Rafael
08:32
created
src/Pagination/DoctrineOffsetCursorPaginator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.