We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 48a04b9 + d3f82f5 commit 28b71b4Copy full SHA for 28b71b4
1 file changed
src/Voter/IsDueVoter.php
@@ -4,15 +4,15 @@
4
5
namespace Synolia\SyliusSchedulerCommandPlugin\Voter;
6
7
-use Symfony\Component\DependencyInjection\Attribute\TaggedIterator;
+use Symfony\Component\DependencyInjection\Attribute\AutowireIterator;
8
use Synolia\SyliusSchedulerCommandPlugin\Checker\IsDueCheckerInterface;
9
use Synolia\SyliusSchedulerCommandPlugin\Components\Exceptions\Checker\IsNotDueException;
10
use Synolia\SyliusSchedulerCommandPlugin\Entity\CommandInterface;
11
12
class IsDueVoter implements IsDueVoterInterface
13
{
14
public function __construct(
15
- #[TaggedIterator(IsDueCheckerInterface::class)]
+ #[AutowireIterator(IsDueCheckerInterface::class)]
16
private readonly iterable $checkers,
17
) {
18
}
0 commit comments