From 29908b306acf17594bf7d28571cb8a33a6db5064 Mon Sep 17 00:00:00 2001
From: Leonid Poluyanov <lpoluyanov@magento.com>
Date: Tue, 23 Jan 2018 17:32:28 +0200
Subject: [PATCH] MAGETWO-84448: Product Import does not allow store-specific
 Custom Option labels

---
 .../BundleImportExport/Model/Export/RowCustomizer.php     | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/app/code/Magento/BundleImportExport/Model/Export/RowCustomizer.php b/app/code/Magento/BundleImportExport/Model/Export/RowCustomizer.php
index ca885b21856..32efb9a0419 100644
--- a/app/code/Magento/BundleImportExport/Model/Export/RowCustomizer.php
+++ b/app/code/Magento/BundleImportExport/Model/Export/RowCustomizer.php
@@ -427,10 +427,10 @@ class RowCustomizer implements RowCustomizerInterface
      *  - 'name=All store views name' for all store views
      *  - 'name_specific_store=Specific store name' for store view with 'specific_store' store code
      *
-     * @param \Magento\Catalog\Model\Product $product $product
+     * @param \Magento\Catalog\Model\Product $product
      * @return array
      */
-    private function getBundleOptionTitles($product): array
+    private function getBundleOptionTitles(\Magento\Catalog\Model\Product $product): array
     {
         $optionCollections = $this->getProductOptionCollections($product);
         $optionsTitles = [];
@@ -460,7 +460,7 @@ class RowCustomizer implements RowCustomizerInterface
      * Set given store id to the product if it was defined (default store id will be set if was not).
      *
      * @param \Magento\Catalog\Model\Product $product $product
-     * @param integer $storeId
+     * @param int $storeId
      * @return \Magento\Bundle\Model\ResourceModel\Option\Collection
      */
     private function getProductOptionCollections(
@@ -483,7 +483,7 @@ class RowCustomizer implements RowCustomizerInterface
      *
      * Collect store id in $storeIdToCode[] private variable if it was not initialized earlier.
      *
-     * @param $storeId
+     * @param int $storeId
      * @return string
      */
     private function getStoreCodeById($storeId): string
-- 
GitLab