Types on ranges attempt.

This commit is contained in:
2023-08-03 13:17:57 +00:00
parent 22cc0da96d
commit 0814be726a
3 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ class Range
return $this->max;
}
protected static function create(int $min, int $max): static
protected static function create(int $min, int $max): self
{
return new Range($min, $max);
}