Skip to content

Commit 513ca37

Browse files
committed
fixed unittests
1 parent a91d733 commit 513ca37

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/packet/ControlPacket.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public function get()
161161
* @param $byte1
162162
* @return $byte1 unmodified
163163
*/
164-
protected function addReservedBitsToFixedHeaderControlPacketType($byte1)
164+
protected static function addReservedBitsToFixedHeaderControlPacketType($byte1)
165165
{
166166
return $byte1;
167167
}

src/packet/Subscribe.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public static function getControlPacketType()
2020
return ControlPacketType::SUBSCRIBE;
2121
}
2222

23-
protected function addReservedBitsToFixedHeaderControlPacketType($byte1)
23+
protected static function addReservedBitsToFixedHeaderControlPacketType($byte1)
2424
{
2525
return $byte1 + 2;
2626
}

0 commit comments

Comments
 (0)