mirror of
https://github.com/furyfire/trueskill.git
synced 2025-04-19 04:14:28 +00:00
SkillTest deprecated method
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:
@ -52,7 +52,7 @@ abstract class SkillCalculator
|
||||
|
||||
public function isSupported(int $option): bool
|
||||
{
|
||||
return (bool)($this->supportedOptions & $option) == $option;
|
||||
return ($this->supportedOptions & $option) === $option;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -64,7 +64,7 @@ abstract class SkillCalculator
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array<\DNW\Skills\Team> $teams
|
||||
* @param Team[] $teams
|
||||
*
|
||||
* @throws \Exception
|
||||
*/
|
||||
|
Reference in New Issue
Block a user