@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | public function boot() |
21 | 21 | { |
22 | 22 | $this->publishes([ |
23 | - __DIR__ . '/../config/woocommerce.php' => config_path('woocommerce.php'), |
|
23 | + __DIR__.'/../config/woocommerce.php' => config_path('woocommerce.php'), |
|
24 | 24 | ]); |
25 | 25 | } |
26 | 26 | |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | |
36 | 36 | // merge default config |
37 | 37 | $this->mergeConfigFrom( |
38 | - __DIR__ . '/../config/woocommerce.php', |
|
38 | + __DIR__.'/../config/woocommerce.php', |
|
39 | 39 | 'woocommerce' |
40 | 40 | ); |
41 | 41 |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | */ |
134 | 134 | public function totalResults() |
135 | 135 | { |
136 | - return (int)$this->getResponse()->getHeaders()[$this->getHeaderWithCase('X-WP-Total')]; |
|
136 | + return (int) $this->getResponse()->getHeaders()[$this->getHeaderWithCase('X-WP-Total')]; |
|
137 | 137 | } |
138 | 138 | |
139 | 139 | /** |
@@ -143,7 +143,7 @@ discard block |
||
143 | 143 | */ |
144 | 144 | public function totalPages() |
145 | 145 | { |
146 | - return (int)$this->getResponse()->getHeaders()[$this->getHeaderWithCase('X-WP-TotalPages')]; |
|
146 | + return (int) $this->getResponse()->getHeaders()[$this->getHeaderWithCase('X-WP-TotalPages')]; |
|
147 | 147 | } |
148 | 148 | |
149 | 149 | /** |
@@ -185,7 +185,7 @@ discard block |
||
185 | 185 | */ |
186 | 186 | public function hasNextPage() |
187 | 187 | { |
188 | - return (bool)$this->nextPage(); |
|
188 | + return (bool) $this->nextPage(); |
|
189 | 189 | } |
190 | 190 | |
191 | 191 | /** |
@@ -195,7 +195,7 @@ discard block |
||
195 | 195 | */ |
196 | 196 | public function hasPreviousPage() |
197 | 197 | { |
198 | - return (bool)$this->previousPage(); |
|
198 | + return (bool) $this->previousPage(); |
|
199 | 199 | } |
200 | 200 | |
201 | 201 | /** |
@@ -205,7 +205,7 @@ discard block |
||
205 | 205 | */ |
206 | 206 | public function hasNotNextPage() |
207 | 207 | { |
208 | - return (bool)!$this->nextPage(); |
|
208 | + return (bool) !$this->nextPage(); |
|
209 | 209 | } |
210 | 210 | |
211 | 211 | /** |
@@ -215,7 +215,7 @@ discard block |
||
215 | 215 | */ |
216 | 216 | public function hasNotPreviousPage() |
217 | 217 | { |
218 | - return (bool)!$this->previousPage(); |
|
218 | + return (bool) !$this->previousPage(); |
|
219 | 219 | } |
220 | 220 | |
221 | 221 | /** |