Passed
Push — master ( 76d477...5f001b )
by BENOIT
02:44
created
src/Model/Pager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
     /**
171 171
      * @inheritDoc
172 172
      */
173
-    public function getPreviousPage(): ?PageInterface
173
+    public function getPreviousPage(): ? PageInterface
174 174
     {
175 175
         if (1 === $this->getCurrentPageNumber()) {
176 176
             return null;
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
     /**
190 190
      * @inheritDoc
191 191
      */
192
-    public function getNextPage(): ?PageInterface
192
+    public function getNextPage(): ? PageInterface
193 193
     {
194 194
         $nbPages = count($this);
195 195
         if ($nbPages === $this->getCurrentPageNumber()) {
Please login to merge, or discard this patch.
src/Model/DeltaPager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
     /**
155 155
      * @inheritDoc
156 156
      */
157
-    public function getPreviousPage(): ?PageInterface
157
+    public function getPreviousPage(): ? PageInterface
158 158
     {
159 159
         return $this->pager->getPreviousPage();
160 160
     }
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
     /**
171 171
      * @inheritDoc
172 172
      */
173
-    public function getNextPage(): ?PageInterface
173
+    public function getNextPage(): ? PageInterface
174 174
     {
175 175
         return $this->pager->getNextPage();
176 176
     }
Please login to merge, or discard this patch.
src/Contract/PagerInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
      *
79 79
      * @return PageInterface|null
80 80
      */
81
-    public function getPreviousPage(): ?PageInterface;
81
+    public function getPreviousPage(): ? PageInterface;
82 82
 
83 83
     /**
84 84
      * Return wether or not this page is the previous one.
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
      *
94 94
      * @return PageInterface|null
95 95
      */
96
-    public function getNextPage(): ?PageInterface;
96
+    public function getNextPage(): ? PageInterface;
97 97
 
98 98
     /**
99 99
      * Return wether or not this page is the next one.
Please login to merge, or discard this patch.