Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
1 / 1
Max
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
 __construct
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2
3declare(strict_types=1);
4
5namespace Engelsystem\Http\Validation\Rules;
6
7use Respect\Validation\Rules\AbstractEnvelope;
8use Respect\Validation\Rules\Max as RespectMax;
9
10class Max extends AbstractEnvelope
11{
12    use StringInputLength;
13
14    public function __construct(mixed $maxValue)
15    {
16        parent::__construct(new RespectMax($maxValue));
17    }
18}