@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | 'event' => 'elasticsearch_request', |
| 40 | 40 | 'event_time' => Carbon::now(), |
| 41 | 41 | 'msecs' => round(($t1 - $t0) * 1000), |
| 42 | - 'data' => 'results:' . count($response['hits']['hits']), |
|
| 42 | + 'data' => 'results:'.count($response['hits']['hits']), |
|
| 43 | 43 | ]); |
| 44 | 44 | $hits = count($response['hits']['hits']); |
| 45 | 45 | if ($response['offset'] + $hits < $out['total']) { |
@@ -204,11 +204,11 @@ discard block |
||
| 204 | 204 | $cover = $cover->toArray(); |
| 205 | 205 | } |
| 206 | 206 | } catch (\ErrorException $e) { |
| 207 | - \Log::error('Failed to cache cover, got error: ' . $e->getMessage()); |
|
| 207 | + \Log::error('Failed to cache cover, got error: '.$e->getMessage()); |
|
| 208 | 208 | |
| 209 | 209 | return response()->json([ |
| 210 | 210 | 'result' => 'error', |
| 211 | - 'error' => 'Failed to store the cover. Please check that the URL points to a valid image file. Details: ' . $e->getMessage(), |
|
| 211 | + 'error' => 'Failed to store the cover. Please check that the URL points to a valid image file. Details: '.$e->getMessage(), |
|
| 212 | 212 | ]); |
| 213 | 213 | } |
| 214 | 214 | |
@@ -243,7 +243,7 @@ discard block |
||
| 243 | 243 | ]; |
| 244 | 244 | $doc->save(); |
| 245 | 245 | |
| 246 | - \Log::info('Stored new description for ' . $doc->id); |
|
| 246 | + \Log::info('Stored new description for '.$doc->id); |
|
| 247 | 247 | |
| 248 | 248 | $se->indexById($doc->id); |
| 249 | 249 | |
@@ -268,11 +268,11 @@ discard block |
||
| 268 | 268 | $doc->save(); |
| 269 | 269 | |
| 270 | 270 | } catch (\ErrorException $e) { |
| 271 | - \Log::error('Failed to store status, got error: ' . $e->getMessage()); |
|
| 271 | + \Log::error('Failed to store status, got error: '.$e->getMessage()); |
|
| 272 | 272 | |
| 273 | 273 | return response()->json([ |
| 274 | 274 | 'result' => 'error', |
| 275 | - 'error' => 'Failed to store status. Details: ' . $e->getMessage(), |
|
| 275 | + 'error' => 'Failed to store status. Details: '.$e->getMessage(), |
|
| 276 | 276 | ]); |
| 277 | 277 | } |
| 278 | 278 | |