Skip to content

Commit bcc01a2

Browse files
committed
Fix deprecation
(see symfony/symfony@4bc6bed)
1 parent 1d6bec8 commit bcc01a2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/HealthCheck/HealthCheckChain.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@
1919
namespace OpenConext\MonitorBundle\HealthCheck;
2020

2121
use OpenConext\MonitorBundle\Value\HealthReport;
22-
use Symfony\Component\DependencyInjection\Attribute\TaggedIterator;
22+
use Symfony\Component\DependencyInjection\Attribute\AutowireIterator;
2323

2424
/**
2525
* Collect HealthCheck instances and checks them for UP or DOWN status.
2626
*/
2727
class HealthCheckChain
2828
{
2929
public function __construct(
30-
#[TaggedIterator(HealthCheckInterface::class)]
30+
#[AutowireIterator(HealthCheckInterface::class)]
3131
private readonly iterable $healthChecks
3232
) {
3333
}

0 commit comments

Comments
 (0)