Skip to content

Commit df67a82

Browse files
authored
Merge pull request #13 from Codexshaper/analysis-EAp0Ex
Apply fixes from StyleCI
2 parents a511a77 + 19974a9 commit df67a82

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Traits/WoocommerceTrait.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ trait WoocommerceTrait
1616
public function all($endpoint = '', $options = [])
1717
{
1818
self::__construct();
19+
1920
return $this->client->get($endpoint, $options);
2021
}
2122

@@ -31,6 +32,7 @@ public function all($endpoint = '', $options = [])
3132
public function find($endpoint = '', $options = [])
3233
{
3334
self::__construct();
35+
3436
return $this->client->get($endpoint, $options);
3537
}
3638

@@ -46,6 +48,7 @@ public function find($endpoint = '', $options = [])
4648
public function create($endpoint, $data)
4749
{
4850
self::__construct();
51+
4952
return $this->client->post($endpoint, $data);
5053
}
5154

@@ -61,6 +64,7 @@ public function create($endpoint, $data)
6164
public function update($endpoint, $data)
6265
{
6366
self::__construct();
67+
6468
return $this->client->put($endpoint, $data);
6569
}
6670

@@ -76,6 +80,7 @@ public function update($endpoint, $data)
7680
public function delete($endpoint, $options = [])
7781
{
7882
self::__construct();
83+
7984
return $this->client->delete($endpoint, $options);
8085
}
8186

@@ -87,6 +92,7 @@ public function delete($endpoint, $options = [])
8792
public function getRequest()
8893
{
8994
self::__construct();
95+
9096
return $this->client->http->getRequest();
9197
}
9298

@@ -98,6 +104,7 @@ public function getRequest()
98104
public function getResponse()
99105
{
100106
self::__construct();
107+
101108
return $this->client->http->getResponse();
102109
}
103110

0 commit comments

Comments
 (0)