Skip to content

Commit

Permalink
OP-321: PHPStan fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jkindly committed Jun 25, 2024
1 parent 12602a0 commit 789ba2a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/Importer/BlockImporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ public function __construct(
private ResourceResolverInterface $blockResourceResolver,
private ImporterCollectionsResolverInterface $importerCollectionsResolver,
private ImporterChannelsResolverInterface $importerChannelsResolver,
private ImporterProductsResolverInterface $importerProductsResolver,
ValidatorInterface $validator,
private BlockRepositoryInterface $blockRepository,
) {
Expand All @@ -43,7 +42,6 @@ public function import(array $row): void

$this->importerCollectionsResolver->resolve($block, $this->getColumnValue(self::COLLECTIONS_COLUMN, $row));
$this->importerChannelsResolver->resolve($block, $this->getColumnValue(self::CHANNELS_COLUMN, $row));
$this->importerProductsResolver->resolve($block, $this->getColumnValue(self::PRODUCTS_COLUMN, $row));

$this->validateResource($block, ['bitbag']);
$this->blockRepository->add($block);
Expand Down
1 change: 0 additions & 1 deletion src/Resources/config/services/importer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
<argument type="service" id="bitbag_sylius_cms_plugin.resolver.resource.block" />
<argument type="service" id="bitbag_sylius_cms_plugin.resolver.importer_collections" />
<argument type="service" id="bitbag_sylius_cms_plugin.resolver.importer_channels" />
<argument type="service" id="bitbag_sylius_cms_plugin.resolver.importer_products" />
<argument type="service" id="validator" />
<argument type="service" id="bitbag_sylius_cms_plugin.repository.block" />
<tag name="bitbag.cmsplugin.importer" />
Expand Down

0 comments on commit 789ba2a

Please sign in to comment.