Skip to content

Commit

Permalink
Apply php-cs-fixer changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lukmzig authored and github-actions[bot] committed Nov 21, 2024
1 parent efcd592 commit d2e6af0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ protected function doUpdateMapping(ClassDefinition $classDefinition)
$mapping = $this->generateMapping($classDefinition);
if ($this->searchClient === null) {
$this->openSearchClient->indices()->putMapping($mapping);

return;
}

Expand Down Expand Up @@ -893,7 +894,7 @@ protected function isExcludedField(string $className, string $fieldName): bool
}

// ToDo Remove this and use SearchClientInterface directly in version 7.0
private function getClient(): SearchClientInterface|OpenSearchClient
private function getClient(): SearchClientInterface | OpenSearchClient
{
if ($this->searchClient !== null) {
return $this->searchClient;
Expand Down

0 comments on commit d2e6af0

Please sign in to comment.