Completed
Pull Request — master (#63)
by
unknown
20s
created
src/WoocommerceClient.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
206 206
      */
207 207
     public function hasNotPreviousPage()
208 208
     {
209
-        return (bool) ! $this->previousPage();
209
+        return (bool) !$this->previousPage();
210 210
     }
211 211
 }
Please login to merge, or discard this patch.
src/WoocommerceServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.