Skip to content

Commit

Permalink
Merge pull request #103 from synolia/fix/deprecated-attribute-autowir…
Browse files Browse the repository at this point in the history
…e-iterator

[1.14] chore(di): change deprecated `TaggedIterator` to `AutowireIterator`
  • Loading branch information
oallain authored Jan 29, 2025
2 parents 48a04b9 + d3f82f5 commit 28b71b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Voter/IsDueVoter.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@

namespace Synolia\SyliusSchedulerCommandPlugin\Voter;

use Symfony\Component\DependencyInjection\Attribute\TaggedIterator;
use Symfony\Component\DependencyInjection\Attribute\AutowireIterator;
use Synolia\SyliusSchedulerCommandPlugin\Checker\IsDueCheckerInterface;
use Synolia\SyliusSchedulerCommandPlugin\Components\Exceptions\Checker\IsNotDueException;
use Synolia\SyliusSchedulerCommandPlugin\Entity\CommandInterface;

class IsDueVoter implements IsDueVoterInterface
{
public function __construct(
#[TaggedIterator(IsDueCheckerInterface::class)]
#[AutowireIterator(IsDueCheckerInterface::class)]
private readonly iterable $checkers,
) {
}
Expand Down

0 comments on commit 28b71b4

Please sign in to comment.