mirror of
https://github.com/furyfire/trueskill.git
synced 2025-04-18 20:04:28 +00:00
Strict code coverage.
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@ -19,7 +19,7 @@ class HashMap
|
||||
*/
|
||||
private array $hashToKey = [];
|
||||
|
||||
public function getValue(object $key): object
|
||||
public function getValue(object $key): mixed
|
||||
{
|
||||
$hash = spl_object_id($key);
|
||||
|
||||
|
@ -8,8 +8,4 @@ use DNW\Skills\Numerics\Range;
|
||||
|
||||
class PlayersRange extends Range
|
||||
{
|
||||
protected static function create(int $min, int $max): static
|
||||
{
|
||||
return new static($min, $max);
|
||||
}
|
||||
}
|
||||
|
@ -8,8 +8,4 @@ use DNW\Skills\Numerics\Range;
|
||||
|
||||
class TeamsRange extends Range
|
||||
{
|
||||
protected static function create(int $min, int $max): static
|
||||
{
|
||||
return new static($min, $max);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user