| Total Complexity | 4 | 
| Total Lines | 27 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); | ||
| 5 | class Factory | ||
| 6 | { | ||
| 7 | /** @var array<string> */ | ||
| 8 | private array $specialRepositories = []; | ||
| 9 | |||
| 10 | /** | ||
| 11 | * @param array<string> $specialRepositories | ||
| 12 | */ | ||
| 13 | 8 | public function __construct(array $specialRepositories) | |
| 14 |     { | ||
| 15 | 8 | $this->specialRepositories = $specialRepositories; | |
| 16 | } | ||
| 17 | |||
| 18 | 4 | public function build(string $namespace, array $event): Event | |
| 27 | } | ||
| 28 | |||
| 29 | 4 | private function isValidType(string $type): bool | |
| 34 |