| Total Complexity | 4 | 
| Total Lines | 22 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1);  | 
            ||
| 5 | class WhitelistValidationStrategy implements ValidationStrategy  | 
            ||
| 6 | { | 
            ||
| 7 | /**  | 
            ||
| 8 | * @param array $whitelist  | 
            ||
| 9 | */  | 
            ||
| 10 | 2 | public function __construct(private array $whitelist)  | 
            |
| 12 | 2 | }  | 
            |
| 13 | |||
| 14 | /**  | 
            ||
| 15 | * @param $data  | 
            ||
| 16 | * @return bool  | 
            ||
| 17 | */  | 
            ||
| 18 | 2 | public function validate($data): bool  | 
            |
| 29 |