Skip to content

Commit 05ada90

Browse files
committed
Fix coding style
1 parent 1707562 commit 05ada90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Classes/Service/SolrServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ protected function addHighlighting(array $arguments): void
475475

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

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

574574
if (array_key_exists('sort', $arguments) && array_key_exists($arguments['sort'], $sortOptions['menu']) && $arguments['sort']) {
575575
$sortOptions['selected'] = $arguments['sort'];
576-
} else if (array_key_exists('default', $sortOptions)) {
576+
} elseif (array_key_exists('default', $sortOptions)) {
577577
$sortOptions['selected'] = $sortOptions['default'];
578578
} else {
579579
$sortOptions['selected'] = 'is asc';

0 commit comments

Comments
 (0)