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 26a5402 commit 506f69dCopy full SHA for 506f69d
src/Articles/Article.php
@@ -195,7 +195,7 @@ public function fetchWriter(Int $writer_id)
195
return $responseContent->data;
196
}
197
198
- public function fetchArticleManpower(Int $article_id)
+ public function fetchArticleManpower(Array $article_ids)
199
{
200
$request_uri = self::GET_ARTICLE_MANPOWER;
201
// Send a request to $request_uri
@@ -205,7 +205,7 @@ public function fetchArticleManpower(Int $article_id)
205
'Content-Type' => 'application/json',
206
'Accesp' => 'application/json'
207
],
208
- 'body' => json_encode(["articles" => [$article_id]]),
+ 'body' => json_encode(["articles" => $article_ids]),
209
]);
210
211
$responseContent = json_decode($response->getBody()->getContents());
0 commit comments