We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -296,10 +296,10 @@ |
||
296 | 296 | |
297 | 297 | } elseif (isset($record['subparts'][$resArray->id])) { |
298 | 298 | |
299 | - $record['subparts'][$resArray->id] = array ( |
|
299 | + $record['subparts'][$resArray->id] = array ( |
|
300 | 300 | 'uid' => $resArray->uid, |
301 | 301 | 'page' => $resArray->page, |
302 | - 'preview' => (!empty($result_highlights->highlighting->{$resArray->id}->fulltext[0])?$result_highlights->highlighting->{$resArray->id}->fulltext[0]:""), |
|
302 | + 'preview' => (!empty($result_highlights->highlighting->{$resArray->id}->fulltext[0])?$result_highlights->highlighting->{$resArray->id}->fulltext[0]:""), |
|
303 | 303 | 'thumbnail' => $resArray->thumbnail, |
304 | 304 | 'metadata' => $metadata |
305 | 305 | ); |
@@ -241,7 +241,7 @@ discard block |
||
241 | 241 | |
242 | 242 | if ($this->solrConnect()) { |
243 | 243 | |
244 | - $params = array(); |
|
244 | + $params = array (); |
|
245 | 245 | |
246 | 246 | // Restrict the fields to the required ones |
247 | 247 | $params['fl'] = "uid,id,toplevel,thumbnail,page"; |
@@ -256,9 +256,9 @@ discard block |
||
256 | 256 | $result = $this->solr->service->search('uid:'.tx_dlf_solr::escapeQuery($record['uid']), 0, $this->solr->limit, $params); |
257 | 257 | |
258 | 258 | // If it is a fulltext search, enable highlighting and fetch the results |
259 | - if($this->metadata['fulltextSearch']) { |
|
259 | + if ($this->metadata['fulltextSearch']) { |
|
260 | 260 | |
261 | - $params = array(); |
|
261 | + $params = array (); |
|
262 | 262 | |
263 | 263 | $params['hl'] = 'true'; |
264 | 264 | $params['hl.useFastVectorHighlighter'] = 'true'; |
@@ -299,7 +299,7 @@ discard block |
||
299 | 299 | $record['subparts'][$resArray->id] = array ( |
300 | 300 | 'uid' => $resArray->uid, |
301 | 301 | 'page' => $resArray->page, |
302 | - 'preview' => (!empty($result_highlights->highlighting->{$resArray->id}->fulltext[0])?$result_highlights->highlighting->{$resArray->id}->fulltext[0]:""), |
|
302 | + 'preview' => (!empty($result_highlights->highlighting->{$resArray->id}->fulltext[0]) ? $result_highlights->highlighting->{$resArray->id}->fulltext[0] : ""), |
|
303 | 303 | 'thumbnail' => $resArray->thumbnail, |
304 | 304 | 'metadata' => $metadata |
305 | 305 | ); |