@@ -275,6 +275,10 @@ |
||
| 275 | 275 | ]); |
| 276 | 276 | } |
| 277 | 277 | |
| 278 | + /** |
|
| 279 | + * @param string $method |
|
| 280 | + * @param string $resource |
|
| 281 | + */ |
|
| 278 | 282 | protected function doRequest($method, $resource, $options = []) |
| 279 | 283 | { |
| 280 | 284 | $request = new Request($method, $this->buildUrl($resource), [ |
@@ -301,7 +301,7 @@ |
||
| 301 | 301 | } |
| 302 | 302 | |
| 303 | 303 | /** |
| 304 | - * @return boolean |
|
| 304 | + * @return string |
|
| 305 | 305 | */ |
| 306 | 306 | public function getOncePerCustomer() |
| 307 | 307 | { |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | * |
| 31 | 31 | * @param int $id |
| 32 | 32 | * |
| 33 | - * @return PriceRule |
|
| 33 | + * @return \Slince\Shopify\Common\Model\ModelInterface |
|
| 34 | 34 | */ |
| 35 | 35 | public function find($id); |
| 36 | 36 | |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | * |
| 59 | 59 | * @param array $data |
| 60 | 60 | * |
| 61 | - * @return PriceRule |
|
| 61 | + * @return \Slince\Shopify\Common\Model\ModelInterface |
|
| 62 | 62 | */ |
| 63 | 63 | public function create(array $data); |
| 64 | 64 | } |
| 65 | 65 | \ No newline at end of file |