Passed
Pull Request — master (#32)
by
unknown
18:56
created
src/Api/Generated/Endpoint/PutMediaFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
             foreach ($formParameters as $key => $value) {
34 34
                 $bodyBuilder->addResource($key, $value);
35 35
             }
36
-            return array(array('Content-Type' => array('multipart/form-data; boundary="' . ($bodyBuilder->getBoundary() . '""'))), $bodyBuilder->build());
36
+            return array(array('Content-Type' => array('multipart/form-data; boundary="'.($bodyBuilder->getBoundary().'""'))), $bodyBuilder->build());
37 37
         }
38 38
         return array(array(), null);
39 39
     }
Please login to merge, or discard this patch.
src/Api/Generated/Endpoint/PatchOrderExternalService.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -7,13 +7,13 @@
 block discarded – undo
7 7
     protected $orderId;
8 8
     protected $serviceName;
9 9
     /**
10
-    * Updates an order external service. 
10
+     * Updates an order external service. 
11 11
                        Retrieves the updated `OrderExternalService` object
12
-    *
13
-    * @param int $orderId The orders id
14
-    * @param string $serviceName The service name
15
-    * @param \Starweb\Api\Generated\Model\OrderExternalServiceModel $requestBody 
16
-    */
12
+     *
13
+     * @param int $orderId The orders id
14
+     * @param string $serviceName The service name
15
+     * @param \Starweb\Api\Generated\Model\OrderExternalServiceModel $requestBody 
16
+     */
17 17
     public function __construct(int $orderId, string $serviceName, \Starweb\Api\Generated\Model\OrderExternalServiceModel $requestBody)
18 18
     {
19 19
         $this->orderId = $orderId;
Please login to merge, or discard this patch.
src/Api/Generated/Endpoint/PatchProductBundledProductsPricelistPrice.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -8,14 +8,14 @@
 block discarded – undo
8 8
     protected $bundledProductId;
9 9
     protected $pricelistId;
10 10
     /**
11
-    * Updates a bundled product pricelist price. 
11
+     * Updates a bundled product pricelist price. 
12 12
                        Retrieves the updated `ProductBundleProductPricelistPrice` object
13
-    *
14
-    * @param int $productId The product id
15
-    * @param int $bundledProductId The bundled products id
16
-    * @param int $pricelistId The pricelist id
17
-    * @param \Starweb\Api\Generated\Model\ProductBundleProductPriceModel $requestBody 
18
-    */
13
+     *
14
+     * @param int $productId The product id
15
+     * @param int $bundledProductId The bundled products id
16
+     * @param int $pricelistId The pricelist id
17
+     * @param \Starweb\Api\Generated\Model\ProductBundleProductPriceModel $requestBody 
18
+     */
19 19
     public function __construct(int $productId, int $bundledProductId, int $pricelistId, \Starweb\Api\Generated\Model\ProductBundleProductPriceModel $requestBody)
20 20
     {
21 21
         $this->productId = $productId;
Please login to merge, or discard this patch.
src/Api/Generated/Endpoint/PatchProductsMediaFileLink.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -7,13 +7,13 @@
 block discarded – undo
7 7
     protected $productId;
8 8
     protected $mediaFileId;
9 9
     /**
10
-    * Updates a product media file link. 
10
+     * Updates a product media file link. 
11 11
                        Retrieves the update `ProductMediaFileLink` object.
12
-    *
13
-    * @param int $productId The product id
14
-    * @param int $mediaFileId The media file id of the link you want to fetch/change
15
-    * @param \Starweb\Api\Generated\Model\ProductMediaFileLinkModel $requestBody 
16
-    */
12
+     *
13
+     * @param int $productId The product id
14
+     * @param int $mediaFileId The media file id of the link you want to fetch/change
15
+     * @param \Starweb\Api\Generated\Model\ProductMediaFileLinkModel $requestBody 
16
+     */
17 17
     public function __construct(int $productId, int $mediaFileId, \Starweb\Api\Generated\Model\ProductMediaFileLinkModel $requestBody)
18 18
     {
19 19
         $this->productId = $productId;
Please login to merge, or discard this patch.
src/Api/Generated/Endpoint/CreateMediaFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
             foreach ($formParameters as $key => $value) {
34 34
                 $bodyBuilder->addResource($key, $value);
35 35
             }
36
-            return array(array('Content-Type' => array('multipart/form-data; boundary="' . ($bodyBuilder->getBoundary() . '""'))), $bodyBuilder->build());
36
+            return array(array('Content-Type' => array('multipart/form-data; boundary="'.($bodyBuilder->getBoundary().'""'))), $bodyBuilder->build());
37 37
         }
38 38
         return array(array(), null);
39 39
     }
Please login to merge, or discard this patch.
src/Api/Generated/Endpoint/PutProductsVariantsPricelistVolumePrice.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -9,15 +9,15 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Api/Generated/Endpoint/PatchAttribute.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -6,12 +6,12 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/HttpClient/Plugin/AddPathPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/HttpClient/Plugin/BaseUriPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.