Skip to content

Commit 8010eb4

Browse files
committed
Correct dist files
1 parent 9d45f97 commit 8010eb4

File tree

3 files changed

+7
-18
lines changed

3 files changed

+7
-18
lines changed

dist/docker-compose.override.yaml

+1-17
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ services:
1919
soft: -1
2020
hard: -1
2121
ports:
22-
- "9200:9200"
23-
- "9300:9300"
22+
- 92
2423

2524
cerebro:
2625
image: lmenezes/cerebro
@@ -29,20 +28,5 @@ services:
2928
links:
3029
- elasticsearch
3130

32-
kibana:
33-
image: kibana:7.4.0
34-
ports:
35-
- "5601:5601"
36-
environment:
37-
- "SERVER_NAME=localhost"
38-
- "ELASTICSEARCH_HOSTS=http://elasticsearch:9200"
39-
- "XPACK_GRAPH_ENABLED=false"
40-
- "XPACK_ML_ENABLED=false"
41-
- "XPACK_REPORTING_ENABLED=false"
42-
- "XPACK_SECURITY_ENABLED=false"
43-
- "XPACK_WATCHER_ENABLED=false"
44-
links:
45-
- elasticsearch
46-
4731
volumes:
4832
esdata: {}

dist/src/Entity/Product/ProductAttribute.php

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
use MonsieurBiz\SyliusSearchPlugin\Model\Product\SearchableTrait;
1919
use Sylius\Component\Attribute\Model\AttributeTranslationInterface;
2020
use Sylius\Component\Product\Model\ProductAttribute as BaseProductAttribute;
21-
use Sylius\Component\Product\Model\ProductAttributeTranslation;
2221

2322
/**
2423
* @ORM\Entity

dist/src/Entity/Product/ProductOption.php

+6
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
use MonsieurBiz\SyliusSearchPlugin\Entity\Product\SearchableInterface;
1818
use MonsieurBiz\SyliusSearchPlugin\Model\Product\SearchableTrait;
1919
use Sylius\Component\Product\Model\ProductOption as BaseProductOption;
20+
use Sylius\Component\Product\Model\ProductOptionTranslationInterface;
2021

2122
/**
2223
* @ORM\Entity
@@ -25,4 +26,9 @@
2526
class ProductOption extends BaseProductOption implements SearchableInterface
2627
{
2728
use SearchableTrait;
29+
30+
protected function createTranslation(): ProductOptionTranslationInterface
31+
{
32+
return new ProductOptionTranslation();
33+
}
2834
}

0 commit comments

Comments
 (0)