@@ -170,7 +170,7 @@ discard block |
||
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 |
||
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()) { |
@@ -154,7 +154,7 @@ discard block |
||
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 |
||
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 | } |
@@ -78,7 +78,7 @@ discard block |
||
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 |
||
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. |