diff --git a/src/FactorGraphs/FactorGraphLayer.php b/src/FactorGraphs/FactorGraphLayer.php index 52639a5..ca2cb8c 100644 --- a/src/FactorGraphs/FactorGraphLayer.php +++ b/src/FactorGraphs/FactorGraphLayer.php @@ -1,6 +1,7 @@ > + * @var array> */ private array $outputVariablesGroups = []; /** - * @var array> + * @var array> */ private $inputVariablesGroups = []; diff --git a/src/TrueSkill/FactorGraphTrueSkillCalculator.php b/src/TrueSkill/FactorGraphTrueSkillCalculator.php index fc9acfe..a89f334 100644 --- a/src/TrueSkill/FactorGraphTrueSkillCalculator.php +++ b/src/TrueSkill/FactorGraphTrueSkillCalculator.php @@ -120,7 +120,7 @@ class FactorGraphTrueSkillCalculator extends SkillCalculator ); } - + /** * Helper function that gets a list of values for all player ratings * @param Team[] $teamAssignmentsList diff --git a/src/TrueSkill/Layers/PlayerPerformancesToTeamPerformancesLayer.php b/src/TrueSkill/Layers/PlayerPerformancesToTeamPerformancesLayer.php index 47ba4d4..490b47a 100644 --- a/src/TrueSkill/Layers/PlayerPerformancesToTeamPerformancesLayer.php +++ b/src/TrueSkill/Layers/PlayerPerformancesToTeamPerformancesLayer.php @@ -8,8 +8,8 @@ use DNW\Skills\PartialPlay; use DNW\Skills\Player; use DNW\Skills\Team; use DNW\Skills\TrueSkill\Factors\GaussianWeightedSumFactor; -use DNW\Skills\FactorGraphs\Variable; -use DNW\Skills\FactorGraphs\KeyedVariable; +use DNW\Skills\FactorGraphs\Variable; +use DNW\Skills\FactorGraphs\KeyedVariable; class PlayerPerformancesToTeamPerformancesLayer extends TrueSkillFactorGraphLayer { diff --git a/src/TrueSkill/Layers/PlayerPriorValuesToSkillsLayer.php b/src/TrueSkill/Layers/PlayerPriorValuesToSkillsLayer.php index 55fa357..d25c6a5 100644 --- a/src/TrueSkill/Layers/PlayerPriorValuesToSkillsLayer.php +++ b/src/TrueSkill/Layers/PlayerPriorValuesToSkillsLayer.php @@ -69,7 +69,7 @@ class PlayerPriorValuesToSkillsLayer extends TrueSkillFactorGraphLayer ); } - private function createSkillOutputVariable(mixed $key) : KeyedVariable + private function createSkillOutputVariable(mixed $key): KeyedVariable { $parentFactorGraph = $this->getParentFactorGraph(); $variableFactory = $parentFactorGraph->getVariableFactory();