Completed
Pull Request — master (#57)
by
unknown
06:26
created
src/WoocommerceClient.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
      */
134 134
     public function totalResults()
135 135
     {
136
-        return (int)$this->getResponse()->getHeaders()[$this->getHeaderWithCase('X-WP-Total')];
136
+        return (int) $this->getResponse()->getHeaders()[$this->getHeaderWithCase('X-WP-Total')];
137 137
     }
138 138
 
139 139
     /**
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      */
144 144
     public function totalPages()
145 145
     {
146
-        return (int)$this->getResponse()->getHeaders()[$this->getHeaderWithCase('X-WP-TotalPages')];
146
+        return (int) $this->getResponse()->getHeaders()[$this->getHeaderWithCase('X-WP-TotalPages')];
147 147
     }
148 148
 
149 149
     /**
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
      */
186 186
     public function hasNextPage()
187 187
     {
188
-        return (bool)$this->nextPage();
188
+        return (bool) $this->nextPage();
189 189
     }
190 190
 
191 191
     /**
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
      */
196 196
     public function hasPreviousPage()
197 197
     {
198
-        return (bool)$this->previousPage();
198
+        return (bool) $this->previousPage();
199 199
     }
200 200
 
201 201
     /**
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
      */
206 206
     public function hasNotNextPage()
207 207
     {
208
-        return (bool)!$this->nextPage();
208
+        return (bool) !$this->nextPage();
209 209
     }
210 210
 
211 211
     /**
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
      */
216 216
     public function hasNotPreviousPage()
217 217
     {
218
-        return (bool)!$this->previousPage();
218
+        return (bool) !$this->previousPage();
219 219
     }
220 220
 
221 221
     /**
Please login to merge, or discard this patch.