@@ -57,13 +57,13 @@ |
||
57 | 57 | // idn_to_ascii('teßt.com',IDNA_NONTRANSITIONAL_TO_ASCII,INTL_IDNA_VARIANT_UTS46) |
58 | 58 | // checkdnsrr($string, "A") // check DNS record |
59 | 59 | if (!HttpUtil::isHttpURL($url)) { |
60 | - throw new DomainException('URL not compatible : ' . $url); |
|
60 | + throw new DomainException('URL not compatible : '.$url); |
|
61 | 61 | } |
62 | 62 | $response = $this->client->get($url); |
63 | 63 | |
64 | 64 | if (200 !== $response->getStatusCode()) { |
65 | - echo 'HTTP error ' . $response->getStatusCode(); |
|
66 | - $this->log->error('HTTP error ' . $response->getStatusCode() . ' ' . $response->getReasonPhrase()); |
|
65 | + echo 'HTTP error '.$response->getStatusCode(); |
|
66 | + $this->log->error('HTTP error '.$response->getStatusCode().' '.$response->getReasonPhrase()); |
|
67 | 67 | |
68 | 68 | return null; |
69 | 69 | } |