Skip to content

Commit

Permalink
Use interface
Browse files Browse the repository at this point in the history
  • Loading branch information
alexz707 committed Jun 5, 2024
1 parent 9066508 commit ef32cd1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Tag/Repository/TagRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
namespace Pimcore\Bundle\StudioBackendBundle\Tag\Repository;

use Pimcore\Bundle\StaticResolverBundle\Models\Tag\TagResolver;
use Pimcore\Bundle\StaticResolverBundle\Models\Tag\TagResolverInterface;
use Pimcore\Bundle\StudioBackendBundle\Exception\ElementDeletingFailedException;
use Pimcore\Bundle\StudioBackendBundle\Exception\ElementNotFoundException;
use Pimcore\Bundle\StudioBackendBundle\Security\Service\SecurityServiceInterface;
Expand All @@ -38,7 +39,7 @@

public function __construct(
private SecurityServiceInterface $securityService,

Check failure on line 41 in src/Tag/Repository/TagRepository.php

View workflow job for this annotation

GitHub Actions / static-analysis / Static Analysis with PHPStan (8.2, highest, false)

Property Pimcore\Bundle\StudioBackendBundle\Tag\Repository\TagRepository::$securityService is never read, only written.

Check failure on line 41 in src/Tag/Repository/TagRepository.php

View workflow job for this annotation

GitHub Actions / static-analysis / Static Analysis with PHPStan (8.2, highest, 11.x-dev as 11.99.9, true)

Property Pimcore\Bundle\StudioBackendBundle\Tag\Repository\TagRepository::$securityService is never read, only written.
private TagResolver $tagResolver
private TagResolverInterface $tagResolver
) {
}

Expand Down

0 comments on commit ef32cd1

Please sign in to comment.