diff --git a/psalm.xml b/psalm.xml index 0bb2d4f..6c46721 100644 --- a/psalm.xml +++ b/psalm.xml @@ -12,11 +12,5 @@ - - - - - - diff --git a/src/Numerics/Matrix.php b/src/Numerics/Matrix.php index f3ff6ea..533227f 100644 --- a/src/Numerics/Matrix.php +++ b/src/Numerics/Matrix.php @@ -8,7 +8,7 @@ use Exception; class Matrix { - public const ERROR_TOLERANCE = 0.0000000001; + public const float ERROR_TOLERANCE = 0.0000000001; /** * @param array> $matrixRowData diff --git a/src/SkillCalculator.php b/src/SkillCalculator.php index 905257a..a5f049e 100644 --- a/src/SkillCalculator.php +++ b/src/SkillCalculator.php @@ -11,11 +11,11 @@ use Exception; */ abstract class SkillCalculator { - public const NONE = 0x00; + public const int NONE = 0x00; - public const PARTIAL_PLAY = 0x01; + public const int PARTIAL_PLAY = 0x01; - public const PARTIAL_UPDATE = 0x02; + public const int PARTIAL_UPDATE = 0x02; protected function __construct( private readonly int $supportedOptions,