(private IRemoteHostValidator $remoteHostValidator)
| 10 | |
| 11 | class ExternalUrlValidator { |
| 12 | public function __construct(private IRemoteHostValidator $remoteHostValidator) { |
| 13 | } |
| 14 | |
| 15 | public function validate(string $url): ?string { |
| 16 | $url = trim($url); |
nothing calls this directly
no outgoing calls
no test coverage detected