@@ -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 | |
@@ -128,7 +128,7 @@ discard block |
||
| 128 | 128 | */ |
| 129 | 129 | public function totalResults() |
| 130 | 130 | { |
| 131 | - return (int)$this->getResponse()->getHeaders()['X-WP-Total']; |
|
| 131 | + return (int) $this->getResponse()->getHeaders()['X-WP-Total']; |
|
| 132 | 132 | } |
| 133 | 133 | |
| 134 | 134 | /** |
@@ -138,7 +138,7 @@ discard block |
||
| 138 | 138 | */ |
| 139 | 139 | public function totalPages() |
| 140 | 140 | { |
| 141 | - return (int)$this->getResponse()->getHeaders()['X-WP-TotalPages']; |
|
| 141 | + return (int) $this->getResponse()->getHeaders()['X-WP-TotalPages']; |
|
| 142 | 142 | } |
| 143 | 143 | |
| 144 | 144 | /** |
@@ -180,7 +180,7 @@ discard block |
||
| 180 | 180 | */ |
| 181 | 181 | public function hasNextPage() |
| 182 | 182 | { |
| 183 | - return (bool)$this->nextPage(); |
|
| 183 | + return (bool) $this->nextPage(); |
|
| 184 | 184 | } |
| 185 | 185 | |
| 186 | 186 | /** |
@@ -190,7 +190,7 @@ discard block |
||
| 190 | 190 | */ |
| 191 | 191 | public function hasPreviousPage() |
| 192 | 192 | { |
| 193 | - return (bool)$this->previousPage(); |
|
| 193 | + return (bool) $this->previousPage(); |
|
| 194 | 194 | } |
| 195 | 195 | |
| 196 | 196 | /** |
@@ -200,7 +200,7 @@ discard block |
||
| 200 | 200 | */ |
| 201 | 201 | public function hasNotNextPage() |
| 202 | 202 | { |
| 203 | - return (bool)!$this->nextPage(); |
|
| 203 | + return (bool) !$this->nextPage(); |
|
| 204 | 204 | } |
| 205 | 205 | |
| 206 | 206 | /** |
@@ -210,6 +210,6 @@ discard block |
||
| 210 | 210 | */ |
| 211 | 211 | public function hasNotPreviousPage() |
| 212 | 212 | { |
| 213 | - return (bool)!$this->previousPage(); |
|
| 213 | + return (bool) !$this->previousPage(); |
|
| 214 | 214 | } |
| 215 | 215 | } |