mirror of
https://github.com/furyfire/trueskill.git
synced 2025-04-19 20:34:28 +00:00
Additional Psalm warnings resolving
This commit is contained in:
@ -18,7 +18,7 @@ class GaussianWithinFactor extends GaussianFactor
|
||||
|
||||
public function __construct(float $epsilon, Variable $variable)
|
||||
{
|
||||
parent::__construct(sprintf('%s <= %.2f', $variable, $epsilon));
|
||||
parent::__construct(sprintf('%s <= %.2f', (string)$variable, $epsilon));
|
||||
$this->epsilon = $epsilon;
|
||||
$this->createVariableToMessageBinding($variable);
|
||||
}
|
||||
|
Reference in New Issue
Block a user