Skip to content

Commit

Permalink
cs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nekufa committed May 7, 2024
1 parent 5992bc1 commit 32c09e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Space.php
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ public function setIndexes(array $indexes)
foreach ($indexes as $n => $index) {
$indexes[$n]['fields'] = [];
foreach ($index['parts'] as $part) {
if (array_key_exists('field', $part)){
if (array_key_exists('field', $part)) {
$indexes[$n]['fields'][] = $this->fields[$part['field']];
} else {
$indexes[$n]['fields'][] = $this->fields[$part[0]];
Expand Down

0 comments on commit 32c09e5

Please sign in to comment.