| Total Complexity | 2 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 9 | final class PreconditionFailed extends AbstractApiProblem |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var string[] |
||
| 13 | */ |
||
| 14 | private $failedPreconditions = []; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param string[] $failedPreconditions |
||
| 18 | */ |
||
| 19 | public function __construct(array $failedPreconditions, string $detail = null, string $instance = null) |
||
| 30 | } |
||
| 31 | 2 | ||
| 32 | 2 | /** |
|
| 33 | * @return string[] |
||
| 34 | */ |
||
| 35 | public function getFailedPreconditions(): array |
||
| 40 |