More type work

This commit is contained in:
2023-08-02 09:36:44 +00:00
parent 16ad8175d9
commit a60187a3fd
14 changed files with 38 additions and 31 deletions

View File

@ -8,10 +8,10 @@ abstract class Schedule implements \Stringable
{
}
abstract public function visit(int $depth = -1, int $maxDepth = 0);
abstract public function visit(int $depth = -1, int $maxDepth = 0): float;
public function __toString(): string
{
return (string) $this->name;
return $this->name;
}
}