mirror of
https://github.com/furyfire/trueskill.git
synced 2025-04-19 04:14:28 +00:00
More types
This commit is contained in:
@ -4,7 +4,7 @@ namespace DNW\Skills;
|
||||
|
||||
class PartialPlay
|
||||
{
|
||||
public static function getPartialPlayPercentage($player)
|
||||
public static function getPartialPlayPercentage(Player $player): float
|
||||
{
|
||||
// If the player doesn't support the interface, assume 1.0 == 100%
|
||||
$supportsPartialPlay = $player instanceof ISupportPartialPlay;
|
||||
|
Reference in New Issue
Block a user