Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 2 |
|
0.00% |
0 / 2 |
CRAP | |
0.00% |
0 / 1 |
| InvalidLogType | |
0.00% |
0 / 2 |
|
0.00% |
0 / 2 |
6 | |
0.00% |
0 / 1 |
| __construct | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getLogType | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | |
| 3 | namespace MediaWiki\Extension\Thanks\Storage\Exceptions; |
| 4 | |
| 5 | use Exception; |
| 6 | |
| 7 | class InvalidLogType extends Exception { |
| 8 | public function __construct( |
| 9 | private readonly string $logType, |
| 10 | ) { |
| 11 | parent::__construct(); |
| 12 | } |
| 13 | |
| 14 | public function getLogType(): string { |
| 15 | return $this->logType; |
| 16 | } |
| 17 | } |