@@ -148,7 +148,7 @@ |
||
| 148 | 148 | /** |
| 149 | 149 | * @param $url |
| 150 | 150 | * |
| 151 | - * @return mixed |
|
| 151 | + * @return string |
|
| 152 | 152 | * @throws WebpageIsNotIndexableException |
| 153 | 153 | */ |
| 154 | 154 | private function getWebpageFromUrl($url) { |
@@ -129,7 +129,7 @@ |
||
| 129 | 129 | |
| 130 | 130 | $html = curl_exec($curl); |
| 131 | 131 | if (curl_error($curl)) { |
| 132 | - throw new WebpageIsNotIndexableException('Webpage is not reachable - ' . $url); |
|
| 132 | + throw new WebpageIsNotIndexableException('Webpage is not reachable - '.$url); |
|
| 133 | 133 | } |
| 134 | 134 | |
| 135 | 135 | curl_close($curl); |