Fixed Binary::unsignShort() being non-static

This commit is contained in:
Dylan K. Taylor 2017-10-03 12:21:09 +01:00
parent 5a6812357b
commit 88807e8b22

View File

@ -43,7 +43,7 @@ class Binary{
return $value << 48 >> 48; return $value << 48 >> 48;
} }
public function unsignShort(int $value) : int{ public static function unsignShort(int $value) : int{
return $value & 0xffff; return $value & 0xffff;
} }