@@ -39,6 +39,9 @@ |
||
39 | 39 | */ |
40 | 40 | protected $versionReference; |
41 | 41 | |
42 | + /** |
|
43 | + * @param string $storageName |
|
44 | + */ |
|
42 | 45 | public function __construct(string $definition, ?string $storageName = null) |
43 | 46 | { |
44 | 47 | /** @var string|EntityDefinition $definition */ |
@@ -52,6 +52,7 @@ |
||
52 | 52 | /** |
53 | 53 | * @param string $definition |
54 | 54 | * @param string ...$identifierOrder |
55 | + * @param string[] $identifierOrder |
|
55 | 56 | */ |
56 | 57 | public function setOrder(string $definition, string ...$identifierOrder): void |
57 | 58 | { |
@@ -3,7 +3,6 @@ discard block |
||
3 | 3 | namespace Shopware\Core\Framework\Command; |
4 | 4 | |
5 | 5 | use Bezhanov\Faker\Provider\Commerce; |
6 | -use bheller\ImagesGenerator\ImagesGeneratorProvider; |
|
7 | 6 | use Doctrine\DBAL\Connection; |
8 | 7 | use Faker\Factory; |
9 | 8 | use Faker\Generator; |
@@ -38,7 +37,6 @@ discard block |
||
38 | 37 | use Shopware\Core\Framework\Rule\Container\NotRule; |
39 | 38 | use Shopware\Core\Framework\Rule\CurrencyRule; |
40 | 39 | use Shopware\Core\Framework\Rule\DateRangeRule; |
41 | -use Shopware\Core\Framework\Rule\Rule; |
|
42 | 40 | use Shopware\Core\Framework\Struct\Uuid; |
43 | 41 | use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; |
44 | 42 | use Symfony\Component\Console\Input\InputInterface; |
@@ -47,6 +45,7 @@ discard block |
||
47 | 45 | use Symfony\Component\Console\Style\SymfonyStyle; |
48 | 46 | use Symfony\Component\DependencyInjection\ContainerInterface; |
49 | 47 | use Symfony\Component\Finder\Finder; |
48 | +use bheller\ImagesGenerator\ImagesGeneratorProvider; |
|
50 | 49 | |
51 | 50 | class DemodataCommand extends ContainerAwareCommand |
52 | 51 | { |