mirror of
https://github.com/furyfire/trueskill.git
synced 2025-05-12 06:07:50 +00:00
Package update and implemented new fixes for Rector findings
This commit is contained in:
@ -10,7 +10,7 @@ class Variable
|
||||
{
|
||||
private mixed $value;
|
||||
|
||||
public function __construct(private GaussianDistribution $prior)
|
||||
public function __construct(private readonly GaussianDistribution $prior)
|
||||
{
|
||||
$this->resetToPrior();
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ namespace DNW\Skills\FactorGraphs;
|
||||
|
||||
class VariableFactory
|
||||
{
|
||||
public function __construct(private \Closure $varPriorInitializer)
|
||||
public function __construct(private readonly \Closure $varPriorInitializer)
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user