Completed
Push — master ( 199950...76b7f4 )
by Maxence
03:21
created
lib/Service/BookmarksService.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.