Skip to content

Commit a88a56a

Browse files
authored
Merge pull request #54 from Codexshaper/analysis-x0NWyb
Apply fixes from StyleCI
2 parents cd88cd5 + 77bdd16 commit a88a56a

File tree

6 files changed

+13
-14
lines changed

6 files changed

+13
-14
lines changed

src/Models/Note.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ protected function delete($order_id, $note_id, $options = [])
8181
* @return array
8282
*/
8383
protected function paginate(
84-
$order_id,
85-
$per_page = 10,
86-
$current_page = 1,
84+
$order_id,
85+
$per_page = 10,
86+
$current_page = 1,
8787
$options = []
8888
) {
8989
$this->endpoint = "orders/{$order_id}/notes";

src/Models/Refund.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ protected function delete($order_id, $refund_id, $options = [])
8181
* @return array
8282
*/
8383
protected function paginate(
84-
$order_id,
85-
$per_page = 10,
86-
$current_page = 1,
84+
$order_id,
85+
$per_page = 10,
86+
$current_page = 1,
8787
$options = []
8888
) {
8989
$this->endpoint = "orders/{$order_id}/refunds";

src/Models/Setting.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Codexshaper\WooCommerce\Models;
44

5-
use Codexshaper\WooCommerce\Facades\WooCommerce;
65
use Codexshaper\WooCommerce\Traits\QueryBuilderTrait;
76

87
class Setting extends BaseModel

src/Models/ShippingZone.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class ShippingZone extends BaseModel
2222
protected function getLocations($id, $options = [])
2323
{
2424
$this->endpoint = "shipping/zones/{$id}/locations";
25-
25+
2626
return self::all($options);
2727
}
2828

src/Models/Term.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@ protected function batch($attribute_id, $data)
112112
* @return array
113113
*/
114114
protected function paginate(
115-
$attribute_id,
116-
$per_page = 10,
117-
$current_page = 1,
115+
$attribute_id,
116+
$per_page = 10,
117+
$current_page = 1,
118118
$options = []
119119
) {
120120
$this->endpoint = "products/attributes/{$attribute_id}/terms";

src/Models/Variation.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@ protected function batch($product_id, $data)
112112
* @return array
113113
*/
114114
protected function paginate(
115-
$product_id,
116-
$per_page = 10,
117-
$current_page = 1,
115+
$product_id,
116+
$per_page = 10,
117+
$current_page = 1,
118118
$options = []
119119
) {
120120
$this->endpoint = "products/{$product_id}/variations";

0 commit comments

Comments
 (0)