aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Structure/Types/Limits.php
blob: 12f6cbf82331f6e49a113b6b9602c73b80769698 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php

declare(strict_types=1);

namespace Nsfisis\Waddiwasi\Structure\Types;

final readonly class Limits
{
    /**
     * @param U32 $min
     * @param ?U32 $max
     */
    public function __construct(
        public int $min,
        public ?int $max,
    ) {
    }
}