@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | } catch (Exception $e) { |
117 | 117 | $document->getIndex() |
118 | 118 | ->setStatus(Index::INDEX_IGNORE); |
119 | - echo 'Exception: ' . json_encode($e->getTrace()) . ' - ' . $e->getMessage() . "\n"; |
|
119 | + echo 'Exception: '.json_encode($e->getTrace()).' - '.$e->getMessage()."\n"; |
|
120 | 120 | } |
121 | 121 | |
122 | 122 | $index[] = $document; |
@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | |
141 | 141 | $html = $this->getWebpageFromUrl($document->getSource()); |
142 | 142 | |
143 | - $content = $description . "\n\n" . $html; |
|
143 | + $content = $description."\n\n".$html; |
|
144 | 144 | $document->setContent(base64_encode($content), IndexDocument::ENCODED_BASE64); |
145 | 145 | } |
146 | 146 |