mirror of
https://github.com/furyfire/trueskill.git
synced 2026-06-22 13:53:57 +02:00
Bit foies for static code analysis.
This commit is contained in:
@@ -8,11 +8,11 @@ use DNW\Skills\Numerics\GaussianDistribution;
|
||||
|
||||
class Variable
|
||||
{
|
||||
private mixed $value;
|
||||
private GaussianDistribution $value;
|
||||
|
||||
public function __construct(private readonly GaussianDistribution $prior)
|
||||
{
|
||||
$this->resetToPrior();
|
||||
$this->value = $prior;
|
||||
}
|
||||
|
||||
public function getValue(): GaussianDistribution
|
||||
|
||||
Reference in New Issue
Block a user