mirror of
https://github.com/furyfire/trueskill.git
synced 2025-06-28 15:30:56 +00:00
No more use of $_ to mark private members.
This commit is contained in:
@ -4,15 +4,15 @@ namespace DNW\Skills\FactorGraphs;
|
||||
|
||||
class ScheduleStep extends Schedule
|
||||
{
|
||||
public function __construct($name, private readonly Factor $_factor, private $_index)
|
||||
public function __construct($name, private readonly Factor $factor, private $index)
|
||||
{
|
||||
parent::__construct($name);
|
||||
}
|
||||
|
||||
public function visit(int $depth = -1, int $maxDepth = 0)
|
||||
{
|
||||
$currentFactor = $this->_factor;
|
||||
$currentFactor = $this->factor;
|
||||
|
||||
return $currentFactor->updateMessageIndex($this->_index);
|
||||
return $currentFactor->updateMessageIndex($this->index);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user