Skip to content

Commit 061af74

Browse files
vgoncharenkoduhon
authored andcommitted
MAGETWO-94482: [2.3] Fixed procedure of creating mapping for dynamic fields in elasticsearch
- fix static tests
1 parent 4c1b154 commit 061af74

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Elasticsearch/Model/Adapter/FieldMapper/Product/FieldProvider/FieldName/Resolver

1 file changed

+1
-1
lines changed

app/code/Magento/Elasticsearch/Model/Adapter/FieldMapper/Product/FieldProvider/FieldName/Resolver/CategoryName.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,6 @@ private function resolveCategoryId($context): int
7171
: $this->storeManager->getStore()->getRootCategoryId();
7272
}
7373

74-
return $id;
74+
return (int)$id;
7575
}
7676
}

0 commit comments

Comments
 (0)