@@ -78,7 +78,7 @@ |
||
78 | 78 | * @param array $body |
79 | 79 | * @param string $resource |
80 | 80 | * |
81 | - * @return mixed|\Psr\Http\Message\ResponseInterface |
|
81 | + * @return \Psr\Http\Message\ResponseInterface|null |
|
82 | 82 | * @throws CustomerNotFoundException |
83 | 83 | * @throws ProductNotFoundException |
84 | 84 | * @throws \Exception |
@@ -65,9 +65,9 @@ |
||
65 | 65 | $key = preg_split("/-/", $this->apiKey); |
66 | 66 | |
67 | 67 | if ($ssl) { |
68 | - $this->endPoint ='https://'.$key[1].'.api.mailchimp.com/3.0/ecommerce/stores/'.$storeId; |
|
68 | + $this->endPoint = 'https://'.$key[1].'.api.mailchimp.com/3.0/ecommerce/stores/'.$storeId; |
|
69 | 69 | } else { |
70 | - $this->endPoint ='http://'.$key[1].'.api.mailchimp.com/3.0/ecommerce/stores'.$storeId; |
|
70 | + $this->endPoint = 'http://'.$key[1].'.api.mailchimp.com/3.0/ecommerce/stores'.$storeId; |
|
71 | 71 | } |
72 | 72 | } |
73 | 73 |