mirror of
https://github.com/furyfire/trueskill.git
synced 2025-09-13 13:48:22 +02:00
use of static in Range implementation.
This commit is contained in:
@@ -6,8 +6,8 @@ use DNW\Skills\Numerics\Range;
|
||||
|
||||
class TeamsRange extends Range
|
||||
{
|
||||
protected static function create(int $min, int $max): self
|
||||
protected static function create(int $min, int $max): static
|
||||
{
|
||||
return new TeamsRange($min, $max);
|
||||
return new static($min, $max);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user