@@ -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) { |
@@ -114,7 +114,7 @@ |
||
114 | 114 | } catch (Exception $e) { |
115 | 115 | $document->getIndex() |
116 | 116 | ->setStatus(Index::INDEX_IGNORE); |
117 | - echo 'Exception: ' . json_encode($e->getTrace()) . ' - ' . $e->getMessage() . "\n"; |
|
117 | + echo 'Exception: '.json_encode($e->getTrace()).' - '.$e->getMessage()."\n"; |
|
118 | 118 | } |
119 | 119 | |
120 | 120 | $index[] = $document; |