@@ -9,15 +9,15 @@ |
||
9 | 9 | protected $pricelistId; |
10 | 10 | protected $quantity; |
11 | 11 | /** |
12 | - * Updates a product variant pricelist volume price. |
|
12 | + * Updates a product variant pricelist volume price. |
|
13 | 13 | Retrieves the updated `ProductVariantPricelistVolumePrice` object |
14 | - * |
|
15 | - * @param int $productId The product id |
|
16 | - * @param int $variantId The products variants id |
|
17 | - * @param int $pricelistId The pricelist id |
|
18 | - * @param int $quantity The volume quantity |
|
19 | - * @param \Starweb\Api\Generated\Model\ProductVariantVolumePriceModel $requestBody |
|
20 | - */ |
|
14 | + * |
|
15 | + * @param int $productId The product id |
|
16 | + * @param int $variantId The products variants id |
|
17 | + * @param int $pricelistId The pricelist id |
|
18 | + * @param int $quantity The volume quantity |
|
19 | + * @param \Starweb\Api\Generated\Model\ProductVariantVolumePriceModel $requestBody |
|
20 | + */ |
|
21 | 21 | public function __construct(int $productId, int $variantId, int $pricelistId, int $quantity, \Starweb\Api\Generated\Model\ProductVariantVolumePriceModel $requestBody) |
22 | 22 | { |
23 | 23 | $this->productId = $productId; |
@@ -6,12 +6,12 @@ |
||
6 | 6 | { |
7 | 7 | protected $attributeId; |
8 | 8 | /** |
9 | - * Updates a product variant attribute. |
|
9 | + * Updates a product variant attribute. |
|
10 | 10 | Retrieves the updated `ProductVariantAttribute` object. |
11 | - * |
|
12 | - * @param int $attributeId The attribute value id |
|
13 | - * @param \Starweb\Api\Generated\Model\ProductVariantAttributeModelUpdatable $requestBody |
|
14 | - */ |
|
11 | + * |
|
12 | + * @param int $attributeId The attribute value id |
|
13 | + * @param \Starweb\Api\Generated\Model\ProductVariantAttributeModelUpdatable $requestBody |
|
14 | + */ |
|
15 | 15 | public function __construct(int $attributeId, \Starweb\Api\Generated\Model\ProductVariantAttributeModelUpdatable $requestBody) |
16 | 16 | { |
17 | 17 | $this->attributeId = $attributeId; |
@@ -48,7 +48,7 @@ |
||
48 | 48 | $prepend = $this->uri->getPath(); |
49 | 49 | $path = $request->getUri()->getPath(); |
50 | 50 | if (0 !== strpos($path, $prepend)) { |
51 | - $request = $request->withUri($request->getUri()->withPath($prepend . $path)); |
|
51 | + $request = $request->withUri($request->getUri()->withPath($prepend.$path)); |
|
52 | 52 | } |
53 | 53 | |
54 | 54 | return $next($request); |
@@ -48,7 +48,7 @@ |
||
48 | 48 | */ |
49 | 49 | public function handleRequest(RequestInterface $request, callable $next, callable $first) |
50 | 50 | { |
51 | - $addHostNext = function (RequestInterface $request) use ($next, $first) { |
|
51 | + $addHostNext = function(RequestInterface $request) use ($next, $first) { |
|
52 | 52 | return $this->addHostPlugin->handleRequest($request, $next, $first); |
53 | 53 | }; |
54 | 54 |
@@ -5,11 +5,11 @@ |
||
5 | 5 | class CreateAttribute extends \Jane\OpenApiRuntime\Client\BaseEndpoint implements \Jane\OpenApiRuntime\Client\Psr7Endpoint |
6 | 6 | { |
7 | 7 | /** |
8 | - * Creates a product variant attribute. |
|
8 | + * Creates a product variant attribute. |
|
9 | 9 | Retrieves the created `ProductVariantAttribute` object. |
10 | - * |
|
11 | - * @param \Starweb\Api\Generated\Model\ProductVariantAttributeModelUpdatable $requestBody |
|
12 | - */ |
|
10 | + * |
|
11 | + * @param \Starweb\Api\Generated\Model\ProductVariantAttributeModelUpdatable $requestBody |
|
12 | + */ |
|
13 | 13 | public function __construct(\Starweb\Api\Generated\Model\ProductVariantAttributeModelUpdatable $requestBody) |
14 | 14 | { |
15 | 15 | $this->body = $requestBody; |