Rector standards slowly being applied. PHP Version first.

This commit is contained in:
2024-02-20 14:21:44 +00:00
parent c72112c5aa
commit 660fbd1486
25 changed files with 108 additions and 36 deletions

View File

@ -11,7 +11,7 @@ use Exception;
class Range
{
final public function __construct(private int $min, private int $max)
final public function __construct(private readonly int $min, private readonly int $max)
{
if ($min > $max) {
throw new Exception('min > max');