Skip to content

Commit 28b71b4

Browse files
authored
Merge pull request #103 from synolia/fix/deprecated-attribute-autowire-iterator
[1.14] chore(di): change deprecated `TaggedIterator` to `AutowireIterator`
2 parents 48a04b9 + d3f82f5 commit 28b71b4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Voter/IsDueVoter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44

55
namespace Synolia\SyliusSchedulerCommandPlugin\Voter;
66

7-
use Symfony\Component\DependencyInjection\Attribute\TaggedIterator;
7+
use Symfony\Component\DependencyInjection\Attribute\AutowireIterator;
88
use Synolia\SyliusSchedulerCommandPlugin\Checker\IsDueCheckerInterface;
99
use Synolia\SyliusSchedulerCommandPlugin\Components\Exceptions\Checker\IsNotDueException;
1010
use Synolia\SyliusSchedulerCommandPlugin\Entity\CommandInterface;
1111

1212
class IsDueVoter implements IsDueVoterInterface
1313
{
1414
public function __construct(
15-
#[TaggedIterator(IsDueCheckerInterface::class)]
15+
#[AutowireIterator(IsDueCheckerInterface::class)]
1616
private readonly iterable $checkers,
1717
) {
1818
}

0 commit comments

Comments
 (0)