Lines
100.00%
2 / 2
Methods
100.00%
2 / 2
Classes
100.00%
1 / 1
| Name | Lines | Methods | CRAP | ||||
|---|---|---|---|---|---|---|---|
| __construct | 100.00% | 1 / 1 | 100.00% | 1 / 1 | 1 | ||
| describeWarning | 100.00% | 1 / 1 | 100.00% | 1 / 1 | 1 | ||
| 9 | final readonly class UnseenAttribute implements GenerationWarning | |
| 10 | { | |
| 11 | public function __construct( | |
| 12 | public string $domain, | |
| 13 | public string $key, | |
| 14 | ) {} | |
| 15 | ||
| 16 | public function describeWarning(): string | |
| 17 | { | |
| 18 | return \sprintf('No %s entity reports the included attribute %s.', $this->domain, $this->key); | |
| 19 | } | |
| 20 | } |