We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ee47b8 commit ad209ddCopy full SHA for ad209dd
src/Traits/QueryBuilderTrait.php
@@ -41,8 +41,7 @@ protected function all($options = [])
41
*/
42
protected function find($id, $options = [])
43
{
44
- $result = collect(WooCommerce::find("{$this->endpoint}/{$id}", $options));
45
- return $this;
+ return collect(WooCommerce::find("{$this->endpoint}/{$id}", $options));
46
}
47
48
/**
0 commit comments