Upgrade with rector

This commit is contained in:
Alex Wulf
2022-07-05 16:21:06 +02:00
parent fd5d276359
commit 689e3b75fe
38 changed files with 144 additions and 355 deletions

View File

@ -5,17 +5,14 @@ namespace DNW\Skills\FactorGraphs;
// edit this
abstract class FactorGraphLayer
{
private $_localFactors = [];
private array $_localFactors = [];
private $_outputVariablesGroups = [];
private array $_outputVariablesGroups = [];
private $_inputVariablesGroups = [];
private $_parentFactorGraph;
protected function __construct(FactorGraph $parentGraph)
protected function __construct(private readonly FactorGraph $_parentFactorGraph)
{
$this->_parentFactorGraph = $parentGraph;
}
protected function getInputVariablesGroups()