@@ -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) { |
@@ -123,7 +123,7 @@ |
||
123 | 123 | // TODO - update $document with a error status instead of just ignore ! |
124 | 124 | $document->getIndex() |
125 | 125 | ->setStatus(Index::INDEX_IGNORE); |
126 | - echo 'Exception: ' . json_encode($e->getTrace()) . ' - ' . $e->getMessage() . "\n"; |
|
126 | + echo 'Exception: '.json_encode($e->getTrace()).' - '.$e->getMessage()."\n"; |
|
127 | 127 | } |
128 | 128 | |
129 | 129 | $index[] = $document; |