File tree Expand file tree Collapse file tree 1 file changed +2
-19
lines changed Expand file tree Collapse file tree 1 file changed +2
-19
lines changed Original file line number Diff line number Diff line change 11<?php
22
3- /*
4- * This file is part of net-mqtt.
5- *
6- * Copyright (c) 2015 Sebastian Mößler [email protected] 7- *
8- * This source file is subject to the MIT license.
9- */
10-
113namespace Fbns \Client \Common ;
124
13- use BinSoul \Net \Mqtt \Packet \BasePacket ;
145use BinSoul \Net \Mqtt \Packet \PublishAckPacket as BasePublishAckPacket ;
15- use BinSoul \Net \Mqtt \PacketStream ;
166
17- /**
18- * Represents the PUBACK packet.
19- */
207class PublishAckPacket extends BasePublishAckPacket
218{
22- public function read ( PacketStream $ stream ): void
9+ protected function assertPacketFlags ( int $ value ): void
2310 {
24- BasePacket::read ($ stream );
25- //$this->assertPacketFlags($this->getExpectedPacketFlags());
26- $ this ->assertRemainingPacketLength (2 );
27-
28- $ this ->identifier = $ stream ->readWord ();
11+ // Do nothing because of non-standard flags being used.
2912 }
3013}
You can’t perform that action at this time.
0 commit comments