From 318ff924f325481b61af6dcc747bd7646b05c97f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Weso=C5=82owski?= Date: Wed, 9 Nov 2022 12:22:03 +0100 Subject: [PATCH] "$body" can be a array for example: the method delete of class ProductSortingService passes array of ProductSorting. --- lib/Services/AbstractService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Services/AbstractService.php b/lib/Services/AbstractService.php index 44402ac..789e6dd 100644 --- a/lib/Services/AbstractService.php +++ b/lib/Services/AbstractService.php @@ -28,7 +28,7 @@ public function __construct($client) * @param null|string $modelClass the classname of which the response gets transformed to * @param array $query array of additional query parameters * @param array $headers array of additional headers - * @param null|ApiObject|string $body the request body object + * @param null|ApiObject|string|array $body the request body object * * @throws ClientExceptionInterface * @throws ApiErrorException