Skip to content

Commit

Permalink
Fix deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
parijke committed May 22, 2024
1 parent 1d6bec8 commit bcc01a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/HealthCheck/HealthCheckChain.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
namespace OpenConext\MonitorBundle\HealthCheck;

use OpenConext\MonitorBundle\Value\HealthReport;
use Symfony\Component\DependencyInjection\Attribute\TaggedIterator;
use Symfony\Component\DependencyInjection\Attribute\AutowireIterator;

/**
* Collect HealthCheck instances and checks them for UP or DOWN status.
*/
class HealthCheckChain
{
public function __construct(
#[TaggedIterator(HealthCheckInterface::class)]
#[AutowireIterator(HealthCheckInterface::class)]
private readonly iterable $healthChecks
) {
}
Expand Down

0 comments on commit bcc01a2

Please sign in to comment.