Lines
100.00%
6 / 6
Functions and Methods
100.00%
1 / 1
Classes and Traits
100.00%
1 / 1
| Name | Lines | Functions and Methods | CRAP | Classes and Traits | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| MapRefusals | 100.00% | 6 / 6 | 100.00% | 1 / 1 | 1 | 100.00% | 1 / 1 | |||
| events | 100.00% | 6 / 6 | 100.00% | 1 / 1 | 1 | |||||
| 1 | <?php | |
| 2 | ||
| 3 | declare(strict_types=1); | |
| 4 | ||
| 5 | namespace Lorekeeper\Server\Event\Map; | |
| 6 | ||
| 7 | use Lorekeeper\Server\Event\EventBundle; | |
| 8 | use Override; | |
| 9 | ||
| 10 | final readonly class MapRefusals extends EventBundle | |
| 11 | { | |
| 12 | #[Override] | |
| 13 | public static function events(): array | |
| 14 | { | |
| 15 | return [ | |
| 16 | MapLockedEvent::class, | |
| 17 | MapMemberOnlyEvent::class, | |
| 18 | MapNotAvailableEvent::class, | |
| 19 | MapRequiresQuestEvent::class, | |
| 20 | ]; | |
| 21 | } | |
| 22 | } |