@@ -95,7 +95,7 @@ public function getConfig()
95
95
*
96
96
* @throws \Yoast\MyYoastApiClient\ApiException on non-2xx response
97
97
* @throws \InvalidArgumentException
98
- * @return string
98
+ * @return \Yoast\MyYoastApiClient\Model\AccessTokenResponse
99
99
*/
100
100
public function apiCustomersLoginPost ($ body )
101
101
{
@@ -112,11 +112,11 @@ public function apiCustomersLoginPost($body)
112
112
*
113
113
* @throws \Yoast\MyYoastApiClient\ApiException on non-2xx response
114
114
* @throws \InvalidArgumentException
115
- * @return array of string , HTTP status code, HTTP response headers (array of strings)
115
+ * @return array of \Yoast\MyYoastApiClient\Model\AccessTokenResponse , HTTP status code, HTTP response headers (array of strings)
116
116
*/
117
117
public function apiCustomersLoginPostWithHttpInfo ($ body )
118
118
{
119
- $ returnType = 'string ' ;
119
+ $ returnType = '\Yoast\MyYoastApiClient\Model\AccessTokenResponse ' ;
120
120
$ request = $ this ->apiCustomersLoginPostRequest ($ body );
121
121
122
122
try {
@@ -168,7 +168,7 @@ public function apiCustomersLoginPostWithHttpInfo($body)
168
168
case 201 :
169
169
$ data = ObjectSerializer::deserialize (
170
170
$ e ->getResponseBody (),
171
- 'string ' ,
171
+ '\Yoast\MyYoastApiClient\Model\AccessTokenResponse ' ,
172
172
$ e ->getResponseHeaders ()
173
173
);
174
174
$ e ->setResponseObject ($ data );
@@ -210,7 +210,7 @@ function ($response) {
210
210
*/
211
211
public function apiCustomersLoginPostAsyncWithHttpInfo ($ body )
212
212
{
213
- $ returnType = 'string ' ;
213
+ $ returnType = '\Yoast\MyYoastApiClient\Model\AccessTokenResponse ' ;
214
214
$ request = $ this ->apiCustomersLoginPostRequest ($ body );
215
215
216
216
return $ this ->client
0 commit comments