Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
AlwaysTrueTester | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
testValue | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 |
1 | <?php |
2 | /** |
3 | * @author: Doug Wilbourne (dougwilbourne@gmail.com) |
4 | * @version 1.0 |
5 | */ |
6 | |
7 | declare(strict_types=1); |
8 | |
9 | namespace pvc\validator\val_tester\always_true; |
10 | |
11 | use pvc\interfaces\validator\valtesters\ValTesterAlwaysTrueInterface; |
12 | |
13 | /** |
14 | * Class ValTesterAlwaysTrue |
15 | */ |
16 | class AlwaysTrueTester implements ValTesterAlwaysTrueInterface |
17 | { |
18 | /** |
19 | * testValue |
20 | * @param mixed $value |
21 | * @return bool |
22 | */ |
23 | public function testValue(mixed $value): bool |
24 | { |
25 | return true; |
26 | } |
27 | } |