Skip to content

Commit

Permalink
Fix coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
mh-goe committed Jul 8, 2024
1 parent 1707562 commit 05ada90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/Service/SolrServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ protected function addHighlighting(array $arguments): void

// Configure the fragment length.
if (array_key_exists('fragsize', $highlightConfig)) {
$highlight->setFragSize((int)$highlightConfig['fragsize']);
$highlight->setFragSize((int) $highlightConfig['fragsize']);
}

// Set up alternative fields.
Expand Down Expand Up @@ -573,7 +573,7 @@ protected function addSortOrdersToTemplate(array $arguments): void

if (array_key_exists('sort', $arguments) && array_key_exists($arguments['sort'], $sortOptions['menu']) && $arguments['sort']) {
$sortOptions['selected'] = $arguments['sort'];
} else if (array_key_exists('default', $sortOptions)) {
} elseif (array_key_exists('default', $sortOptions)) {
$sortOptions['selected'] = $sortOptions['default'];
} else {
$sortOptions['selected'] = 'is asc';
Expand Down

0 comments on commit 05ada90

Please sign in to comment.