| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class External |
||
| 11 | { |
||
| 12 | protected Link $lib; |
||
| 13 | /** @var string[] */ |
||
| 14 | protected array $presetPath = []; |
||
| 15 | protected ?string $userName = null; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param Link $lib |
||
| 19 | * @param string[] $presetPath |
||
| 20 | * @param string|null $userName |
||
| 21 | */ |
||
| 22 | 5 | public function __construct(Link $lib, array $presetPath, ?string $userName = null) |
|
| 27 | 5 | } |
|
| 28 | |||
| 29 | /** |
||
| 30 | * @param string[] $path |
||
| 31 | * @param string[] $module |
||
| 32 | * @param bool $single |
||
| 33 | * @return string |
||
| 34 | */ |
||
| 35 | 5 | public function link(?array $path = null, array $module = [], bool $single = false): string |
|
| 45 |