Lines 0.00% 0 / 1
Functions and Methods 0.00% 0 / 1
Classes and Traits 0.00% 0 / 1
Name Lines Functions and Methods CRAP Classes and Traits
ReloadAttempt 0.00% 0 / 1 0.00% 0 / 1 2 0.00% 0 / 1
 __construct 0.00% 0 / 1 0.00% 0 / 1 2
1<?php
2
3declare(strict_types=1);
4
5namespace Stewart\Runtime\Control\Protocol\Status;
6
7use Stewart\Contracts\Time\Instant;
8use Stewart\Contracts\Wire\ListOf;
9use Stewart\Runtime\Lifecycle\ReloadOutcome;
10
11final readonly class ReloadAttempt
12{
13    /** @param list<string> $settingsNeedingRestart */
14    public function __construct(
15        public ReloadOutcome $outcome,
16        public Instant $finishedAt,
17        public ?string $error = null,
18        #[ListOf('string')]
19        public array $settingsNeedingRestart = [],
20    ) {}
21}