| Total Complexity | 4 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 5 | class Filter |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string[] |
||
| 9 | */ |
||
| 10 | private $excludedTags; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var string[] |
||
| 14 | */ |
||
| 15 | private $tags; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param string[] $excludedTags |
||
| 19 | * @param string[] $tags |
||
| 20 | */ |
||
| 21 | 39 | public function __construct(array $excludedTags, array $tags) |
|
| 25 | } |
||
| 26 | |||
| 27 | 15 | public function __invoke(Tool $tool): bool |
|
| 33 |