@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | |
44 | 44 | $config = $app['config']->get('woocommerce'); |
45 | 45 | |
46 | - $app->singleton('woocommerce.client', function () use ($config) { |
|
46 | + $app->singleton('woocommerce.client', function() use ($config) { |
|
47 | 47 | return new Client( |
48 | 48 | $config['store_url'], |
49 | 49 | $config['consumer_key'], |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | ]); |
58 | 58 | }); |
59 | 59 | |
60 | - $app->singleton('Pixelpeter\Woocommerce\WoocommerceClient', function ($app) { |
|
60 | + $app->singleton('Pixelpeter\Woocommerce\WoocommerceClient', function($app) { |
|
61 | 61 | return new WoocommerceClient($app['woocommerce.client']); |
62 | 62 | }); |
63 | 63 |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | */ |
120 | 120 | public function currentPage() |
121 | 121 | { |
122 | - return ! empty($this->getRequest()->getParameters()['page']) ? $this->getRequest()->getParameters()['page'] : 1; |
|
122 | + return !empty($this->getRequest()->getParameters()['page']) ? $this->getRequest()->getParameters()['page'] : 1; |
|
123 | 123 | } |
124 | 124 | |
125 | 125 | /** |
@@ -201,7 +201,7 @@ discard block |
||
201 | 201 | */ |
202 | 202 | public function hasNotNextPage() |
203 | 203 | { |
204 | - return (bool) ! $this->nextPage(); |
|
204 | + return (bool) !$this->nextPage(); |
|
205 | 205 | } |
206 | 206 | |
207 | 207 | /** |
@@ -211,7 +211,7 @@ discard block |
||
211 | 211 | */ |
212 | 212 | public function hasNotPreviousPage() |
213 | 213 | { |
214 | - return (bool) ! $this->previousPage(); |
|
214 | + return (bool) !$this->previousPage(); |
|
215 | 215 | } |
216 | 216 | |
217 | 217 | /** |