diff --git a/module/VuFind/src/VuFindTest/Feature/SearchSortTrait.php b/module/VuFind/src/VuFindTest/Feature/SearchSortTrait.php index c00087fde33..a80d26f9646 100644 --- a/module/VuFind/src/VuFindTest/Feature/SearchSortTrait.php +++ b/module/VuFind/src/VuFindTest/Feature/SearchSortTrait.php @@ -32,7 +32,6 @@ namespace VuFindTest\Feature; use Behat\Mink\Element\Element; -use Behat\Mink\Element\NodeElement; /** * Trait for working with sorting of search results. @@ -107,8 +106,8 @@ protected function sortResults(Element $page, string $value): void /** * Assert the selected sort option. * - * @param Element $page Current page - * @param string $active Selected sort option + * @param Element $page Current page + * @param string $active Selected sort option * * @return void */ diff --git a/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/SearchSortTest.php b/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/SearchSortTest.php index ddf941716e7..d021746b50d 100644 --- a/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/SearchSortTest.php +++ b/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/SearchSortTest.php @@ -33,8 +33,6 @@ use Behat\Mink\Element\Element; -use function count; - /** * Test for sorting of search results. * @@ -172,8 +170,8 @@ protected function setUpSearch(string $sortParam, string $default): Element /** * Assert the contents and selected element of the sort control. * - * @param Element $page Current page - * @param string $active Expected active option + * @param Element $page Current page + * @param string $active Expected active option * * @return void */ diff --git a/themes/bootstrap3/templates/_ui/components/menu-button.phtml b/themes/bootstrap3/templates/_ui/components/menu-button.phtml index be5bd268071..bf6cb76a7b6 100644 --- a/themes/bootstrap3/templates/_ui/components/menu-button.phtml +++ b/themes/bootstrap3/templates/_ui/components/menu-button.phtml @@ -67,7 +67,7 @@ escapeHtmlAttr($toggleAttrs['id']) . '">' + $menuContents = '' . $this->makeTag( @@ -75,7 +75,7 @@ $menuContents, 'dropdown', ['escapeContent' => false] - ); + ); $wrapperClass = trim(($this->wrapperClass ?? '') . ' dropdown-container'); ?>