mirror of
https://github.com/furyfire/trueskill.git
synced 2025-01-15 17:37:39 +00:00
Types on ranges attempt.
This commit is contained in:
@ -26,7 +26,7 @@ class Range
|
||||
return $this->max;
|
||||
}
|
||||
|
||||
protected static function create(int $min, int $max): static
|
||||
protected static function create(int $min, int $max): self
|
||||
{
|
||||
return new Range($min, $max);
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ use DNW\Skills\Numerics\Range;
|
||||
|
||||
class PlayersRange extends Range
|
||||
{
|
||||
protected static function create(int $min, int $max): static
|
||||
protected static function create(int $min, int $max): self
|
||||
{
|
||||
return new PlayersRange($min, $max);
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ use DNW\Skills\Numerics\Range;
|
||||
|
||||
class TeamsRange extends Range
|
||||
{
|
||||
protected static function create(int $min, int $max): static
|
||||
protected static function create(int $min, int $max): self
|
||||
{
|
||||
return new TeamsRange($min, $max);
|
||||
}
|
||||
|
Reference in New Issue
Block a user