Merge pull request #90 from silverstripe/85-implode-args-order

Fix arguments order in SolrIndexCheck
This commit is contained in:
Guy Sartorelli 2023-05-19 20:43:40 +12:00 committed by GitHub
commit e8517ebfb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@ class SolrIndexCheck implements EnvironmentCheck
if (!empty($brokenCores)) {
return [
EnvironmentCheck::ERROR,
'The following indexes are unavailable: ' . implode($brokenCores ?? '', ', ')
'The following indexes are unavailable: ' . implode(', ', $brokenCores)
];
}