1 | <?php |
||
6 | class BetweenTester implements Tester |
||
7 | { |
||
8 | /** @var int|string */ |
||
9 | protected $min; |
||
10 | |||
11 | /** @var int|string */ |
||
12 | protected $max; |
||
13 | |||
14 | /** |
||
15 | * @param int|string $min |
||
16 | * @param int|string $max |
||
17 | */ |
||
18 | 1 | public function __construct($min, $max) |
|
23 | |||
24 | /** |
||
25 | * {@inheritdoc} |
||
26 | */ |
||
27 | 1 | public function test($data, $origin = null, array $keys = []): bool |
|
38 | } |
||
39 |