We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a91d733 commit 513ca37Copy full SHA for 513ca37
src/packet/ControlPacket.php
@@ -161,7 +161,7 @@ public function get()
161
* @param $byte1
162
* @return $byte1 unmodified
163
*/
164
- protected function addReservedBitsToFixedHeaderControlPacketType($byte1)
+ protected static function addReservedBitsToFixedHeaderControlPacketType($byte1)
165
{
166
return $byte1;
167
}
src/packet/Subscribe.php
@@ -20,7 +20,7 @@ public static function getControlPacketType()
20
return ControlPacketType::SUBSCRIBE;
21
22
23
24
25
return $byte1 + 2;
26
0 commit comments