@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | */ |
115 | 115 | public function currentPage() |
116 | 116 | { |
117 | - return ! empty($this->getRequest()->getParameters()['page']) ? $this->getRequest()->getParameters()['page'] : 1; |
|
117 | + return !empty($this->getRequest()->getParameters()['page']) ? $this->getRequest()->getParameters()['page'] : 1; |
|
118 | 118 | } |
119 | 119 | |
120 | 120 | /** |
@@ -196,7 +196,7 @@ discard block |
||
196 | 196 | */ |
197 | 197 | public function hasNotNextPage() |
198 | 198 | { |
199 | - return (bool) ! $this->nextPage(); |
|
199 | + return (bool) !$this->nextPage(); |
|
200 | 200 | } |
201 | 201 | |
202 | 202 | /** |
@@ -206,6 +206,6 @@ discard block |
||
206 | 206 | */ |
207 | 207 | public function hasNotPreviousPage() |
208 | 208 | { |
209 | - return (bool) ! $this->previousPage(); |
|
209 | + return (bool) !$this->previousPage(); |
|
210 | 210 | } |
211 | 211 | } |
@@ -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 |