@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | */ |
123 | 123 | public function currentPage() |
124 | 124 | { |
125 | - return ! empty($this->getRequest()->getParameters()['page']) ? $this->getRequest()->getParameters()['page'] : 1; |
|
125 | + return !empty($this->getRequest()->getParameters()['page']) ? $this->getRequest()->getParameters()['page'] : 1; |
|
126 | 126 | } |
127 | 127 | |
128 | 128 | /** |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | */ |
133 | 133 | public function totalResults() |
134 | 134 | { |
135 | - return (int)$this->getResponse()->getHeaders()[$this->getHeaderWithCase('X-WP-Total')]; |
|
135 | + return (int) $this->getResponse()->getHeaders()[$this->getHeaderWithCase('X-WP-Total')]; |
|
136 | 136 | } |
137 | 137 | |
138 | 138 | /** |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | */ |
143 | 143 | public function totalPages() |
144 | 144 | { |
145 | - return (int)$this->getResponse()->getHeaders()[$this->getHeaderWithCase('X-WP-TotalPages')]; |
|
145 | + return (int) $this->getResponse()->getHeaders()[$this->getHeaderWithCase('X-WP-TotalPages')]; |
|
146 | 146 | } |
147 | 147 | |
148 | 148 | /** |
@@ -204,7 +204,7 @@ discard block |
||
204 | 204 | */ |
205 | 205 | public function hasNotNextPage() |
206 | 206 | { |
207 | - return (bool) ! $this->nextPage(); |
|
207 | + return (bool) !$this->nextPage(); |
|
208 | 208 | } |
209 | 209 | |
210 | 210 | /** |
@@ -214,7 +214,7 @@ discard block |
||
214 | 214 | */ |
215 | 215 | public function hasNotPreviousPage() |
216 | 216 | { |
217 | - return (bool) ! $this->previousPage(); |
|
217 | + return (bool) !$this->previousPage(); |
|
218 | 218 | } |
219 | 219 | |
220 | 220 | /** |