Lines
100.00%
1 / 1
Methods
100.00%
1 / 1
Classes
100.00%
1 / 1
| Name | Lines | Methods | CRAP | ||||
|---|---|---|---|---|---|---|---|
| mine | 100.00% | 1 / 1 | 100.00% | 1 / 1 | 2 | ||
| 10 | final readonly class HeroDataTracking | |
| 11 | { | |
| 12 | public static function mine(HeroDataLoadedEvent $event, Identity $me): ?HeroData | |
| 13 | { | |
| 14 | return $me->owns($event->data->spawnId) ? $event->data : null; | |
| 15 | } | |
| 16 | } |