@@ -17,7 +17,6 @@ |
||
| 17 | 17 | use Sylius\Component\Addressing\Model\ZoneInterface; |
| 18 | 18 | use Sylius\Component\Addressing\Repository\ZoneRepositoryInterface; |
| 19 | 19 | use Sylius\Component\Core\Formatter\StringInflector; |
| 20 | -use Sylius\Component\Core\Model\ChannelInterface; |
|
| 21 | 20 | use Sylius\Component\Core\Model\ShippingMethodInterface; |
| 22 | 21 | use Sylius\Component\Resource\Factory\FactoryInterface; |
| 23 | 22 | use Sylius\Component\Shipping\Calculator\DefaultCalculators; |
@@ -106,7 +106,8 @@ |
||
| 106 | 106 | * {@inheritdoc} |
| 107 | 107 | */ |
| 108 | 108 | public function getLatestProductsNames() |
| 109 | - {; |
|
| 109 | + { |
|
| 110 | +; |
|
| 110 | 111 | return array_map( |
| 111 | 112 | function (NodeElement $element) { return $element->getText(); }, |
| 112 | 113 | $this->getDocument()->findAll('css', '.sylius-product-name') |
@@ -17,7 +17,6 @@ |
||
| 17 | 17 | use Sylius\Component\Addressing\Model\ZoneInterface; |
| 18 | 18 | use Sylius\Component\Addressing\Repository\ZoneRepositoryInterface; |
| 19 | 19 | use Sylius\Component\Core\Formatter\StringInflector; |
| 20 | -use Sylius\Component\Core\Model\ChannelInterface; |
|
| 21 | 20 | use Sylius\Component\Core\Model\ShippingMethodInterface; |
| 22 | 21 | use Sylius\Component\Resource\Factory\FactoryInterface; |
| 23 | 22 | use Sylius\Component\Shipping\Calculator\DefaultCalculators; |