Skip to content

Commit

Permalink
fixed unittests
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverlorenz committed May 12, 2015
1 parent a91d733 commit 513ca37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/packet/ControlPacket.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public function get()
* @param $byte1
* @return $byte1 unmodified
*/
protected function addReservedBitsToFixedHeaderControlPacketType($byte1)
protected static function addReservedBitsToFixedHeaderControlPacketType($byte1)
{
return $byte1;
}
Expand Down
2 changes: 1 addition & 1 deletion src/packet/Subscribe.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public static function getControlPacketType()
return ControlPacketType::SUBSCRIBE;
}

protected function addReservedBitsToFixedHeaderControlPacketType($byte1)
protected static function addReservedBitsToFixedHeaderControlPacketType($byte1)
{
return $byte1 + 2;
}
Expand Down

0 comments on commit 513ca37

Please sign in to comment.