Completed
Pull Request — master (#15)
by Peter
01:51
created
src/WoocommerceClient.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
210 210
      */
211 211
     public function hasNotPreviousPage()
212 212
     {
213
-        return (bool)!$this->previousPage();
213
+        return (bool) !$this->previousPage();
214 214
     }
215 215
 }
Please login to merge, or discard this patch.