More types

This commit is contained in:
2023-08-02 13:29:14 +00:00
parent 73781e9000
commit a2c5252cf2
6 changed files with 18 additions and 19 deletions

View File

@ -4,7 +4,7 @@ namespace DNW\Skills\FactorGraphs;
class ScheduleStep extends Schedule
{
public function __construct(string $name, private readonly Factor $factor, private $index)
public function __construct(string $name, private readonly Factor $factor, private int $index)
{
parent::__construct($name);
}