Lines 0.00% 0 / 1
Functions and Methods 0.00% 0 / 1
Classes and Traits 0.00% 0 / 1
Name Lines Functions and Methods CRAP Classes and Traits
PingRespPacket 0.00% 0 / 1 0.00% 0 / 1 2 0.00% 0 / 1
 getPacketType 0.00% 0 / 1 0.00% 0 / 1 2
1<?php
2
3declare(strict_types=1);
4
5namespace Stewart\Mqtt\Packet;
6
7final readonly class PingRespPacket implements InboundPacket
8{
9    public function getPacketType(): PacketType
10    {
11        return PacketType::PingResp;
12    }
13}