@@ -239,6 +239,10 @@ |
||
| 239 | 239 | $this->doRequest('DELETE', $resource); |
| 240 | 240 | } |
| 241 | 241 | |
| 242 | + /** |
|
| 243 | + * @param string $method |
|
| 244 | + * @param string $resource |
|
| 245 | + */ |
|
| 242 | 246 | protected function doRequest($method, $resource, $options = []) |
| 243 | 247 | { |
| 244 | 248 | $request = new Request($method, $this->buildUrl($resource)); |
@@ -93,7 +93,7 @@ |
||
| 93 | 93 | } |
| 94 | 94 | |
| 95 | 95 | /** |
| 96 | - * @return string |
|
| 96 | + * @return \DateTime |
|
| 97 | 97 | */ |
| 98 | 98 | public function getCreatedAt() |
| 99 | 99 | { |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | /** |
| 26 | 26 | * Gets the carrier service by its id |
| 27 | 27 | * @param int $id |
| 28 | - * @return CarrierService |
|
| 28 | + * @return \Slince\Shopify\Common\Model\ModelInterface |
|
| 29 | 29 | */ |
| 30 | 30 | public function find($id); |
| 31 | 31 | |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | /** |
| 48 | 48 | * Creates a carrier service |
| 49 | 49 | * @param array $data |
| 50 | - * @return CarrierService |
|
| 50 | + * @return \Slince\Shopify\Common\Model\ModelInterface |
|
| 51 | 51 | */ |
| 52 | 52 | public function create(array $data); |
| 53 | 53 | } |
| 54 | 54 | \ No newline at end of file |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | /** |
| 26 | 26 | * Gets the collect by its id |
| 27 | 27 | * @param int $id |
| 28 | - * @return Collect |
|
| 28 | + * @return \Slince\Shopify\Common\Model\ModelInterface |
|
| 29 | 29 | */ |
| 30 | 30 | public function find($id); |
| 31 | 31 | |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | /** |
| 47 | 47 | * Creates a blog |
| 48 | 48 | * @param array $data |
| 49 | - * @return Collect |
|
| 49 | + * @return \Slince\Shopify\Common\Model\ModelInterface |
|
| 50 | 50 | */ |
| 51 | 51 | public function create(array $data); |
| 52 | 52 | } |
| 53 | 53 | \ No newline at end of file |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | /** |
| 26 | 26 | * Gets the page by its id |
| 27 | 27 | * @param int $id |
| 28 | - * @return Page |
|
| 28 | + * @return \Slince\Shopify\Common\Model\ModelInterface |
|
| 29 | 29 | */ |
| 30 | 30 | public function find($id); |
| 31 | 31 | |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | /** |
| 55 | 55 | * Creates a page |
| 56 | 56 | * @param array $data |
| 57 | - * @return Page |
|
| 57 | + * @return \Slince\Shopify\Common\Model\ModelInterface |
|
| 58 | 58 | */ |
| 59 | 59 | public function create(array $data); |
| 60 | 60 | } |
| 61 | 61 | \ No newline at end of file |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | /** |
| 26 | 26 | * Gets the theme by its id |
| 27 | 27 | * @param int $id |
| 28 | - * @return Theme |
|
| 28 | + * @return \Slince\Shopify\Common\Model\ModelInterface |
|
| 29 | 29 | */ |
| 30 | 30 | public function find($id); |
| 31 | 31 | |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | /** |
| 55 | 55 | * Creates a theme |
| 56 | 56 | * @param array $data |
| 57 | - * @return Theme |
|
| 57 | + * @return \Slince\Shopify\Common\Model\ModelInterface |
|
| 58 | 58 | */ |
| 59 | 59 | public function create(array $data); |
| 60 | 60 | } |
| 61 | 61 | \ No newline at end of file |