We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -227,7 +227,7 @@ |
||
| 227 | 227 | } |
| 228 | 228 | |
| 229 | 229 | if (isset($this->searchParams['fq']) && is_array($this->searchParams['fq'])) { |
| 230 | - foreach($this->searchParams['fq'] as $fq) { |
|
| 230 | + foreach ($this->searchParams['fq'] as $fq) { |
|
| 231 | 231 | $search['params']['filterquery'][]['query'] = $fq; |
| 232 | 232 | } |
| 233 | 233 | } |
@@ -617,7 +617,7 @@ |
||
| 617 | 617 | $collecionsQueryString = $collection->getIndexName(); |
| 618 | 618 | $params['filterquery'][]['query'] = 'toplevel:true'; |
| 619 | 619 | $params['filterquery'][]['query'] = 'partof:0'; |
| 620 | - $params['filterquery'][]['query'] = 'collection_faceting:("' . $collecionsQueryString .'")'; |
|
| 620 | + $params['filterquery'][]['query'] = 'collection_faceting:("' . $collecionsQueryString . '")'; |
|
| 621 | 621 | } |
| 622 | 622 | |
| 623 | 623 | // Set some query parameters. |
@@ -280,7 +280,9 @@ |
||
| 280 | 280 | } |
| 281 | 281 | |
| 282 | 282 | if (is_array($metadataArray[$i][$metadataName])) { |
| 283 | - $metadataArray[$i][$metadataName] = array_values(array_filter($metadataArray[$i][$metadataName], function($x) { return !empty($x); })); |
|
| 283 | + $metadataArray[$i][$metadataName] = array_values(array_filter($metadataArray[$i][$metadataName], function($x) |
|
| 284 | + { |
|
| 285 | +return !empty($x); })); |
|
| 284 | 286 | } |
| 285 | 287 | } |
| 286 | 288 | $i++; |