SkillTest deprecated method
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2024-08-16 07:57:08 +00:00
parent 1e381bfab7
commit 9df860b08b
4 changed files with 64 additions and 35 deletions

View File

@ -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
*/