We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee2921f commit 3b6a9d3Copy full SHA for 3b6a9d3
1 file changed
src/Console/Command/System/CheckCommand.php
@@ -553,11 +553,11 @@ private function formatSearchEngineVersion(array $info): string
553
return 'Search Engine Available';
554
}
555
if (isset($version['distribution']) && $version['distribution'] === 'opensearch') {
556
- return 'OpenSearch ' . ($version['number'] ?? '');
+ return 'OpenSearch ' . (is_string($version['number']) ? $version['number'] : '');
557
558
559
if (isset($version['number'])) {
560
- return 'Elasticsearch ' . $version['number'];
+ return 'Elasticsearch ' . (is_string($version['number']) ? $version['number'] : '');
561
562
563
0 commit comments