Completed
Push — master ( 29bf34...2c2349 )
by Dan Michael O.
02:32
created
app/Http/Controllers/DocumentsController.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -184,11 +184,11 @@  discard block
 block discarded – undo
184 184
                 $cover = $cover->toArray();
185 185
             }
186 186
         } catch (\ErrorException $e) {
187
-            \Log::error('Failed to cache cover, got error: ' . $e->getMessage());
187
+            \Log::error('Failed to cache cover, got error: '.$e->getMessage());
188 188
 
189 189
             return response()->json([
190 190
                 'result' => 'error',
191
-                'error'  => 'Failed to store the cover. Please check that the URL points to a valid image file. Details: ' . $e->getMessage(),
191
+                'error'  => 'Failed to store the cover. Please check that the URL points to a valid image file. Details: '.$e->getMessage(),
192 192
             ]);
193 193
         }
194 194
 
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
         ];
224 224
         $doc->save();
225 225
 
226
-        \Log::info('Stored new description for ' . $doc->id);
226
+        \Log::info('Stored new description for '.$doc->id);
227 227
 
228 228
         $se->indexById($doc->id);
229 229
 
@@ -247,11 +247,11 @@  discard block
 block discarded – undo
247 247
             $doc->save();
248 248
 
249 249
         } catch (\ErrorException $e) {
250
-            \Log::error('Failed to store status, got error: ' . $e->getMessage());
250
+            \Log::error('Failed to store status, got error: '.$e->getMessage());
251 251
 
252 252
             return response()->json([
253 253
                 'result' => 'error',
254
-                'error'  => 'Failed to store status. Details: ' . $e->getMessage(),
254
+                'error'  => 'Failed to store status. Details: '.$e->getMessage(),
255 255
             ]);
256 256
         }
257 257
 
Please login to merge, or discard this patch.