summaryrefslogtreecommitdiffstatshomepage
path: root/core/modules/settings_tray
diff options
context:
space:
mode:
authorcatch <6915-catch@users.noreply.drupalcode.org>2024-07-19 22:32:38 +0900
committercatch <6915-catch@users.noreply.drupalcode.org>2024-07-19 22:32:38 +0900
commitcecb992b71abc55adec64c82358c3e3c77a356c6 (patch)
tree63a2f9376f3c98856c0c26cae1061352c368c21f /core/modules/settings_tray
parentc31d595f986e48e67214e92b5ecd3bdbb03b58e2 (diff)
downloaddrupal-cecb992b71abc55adec64c82358c3e3c77a356c6.tar.gz
drupal-cecb992b71abc55adec64c82358c3e3c77a356c6.zip
Issue #3458427 by mstrelan: Add array return typehints to protected test helper methods
Diffstat (limited to 'core/modules/settings_tray')
-rw-r--r--core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayTestBase.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayTestBase.php b/core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayTestBase.php
index ae13a0fdf39..c03f73b077f 100644
--- a/core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayTestBase.php
+++ b/core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayTestBase.php
@@ -156,7 +156,7 @@ class SettingsTrayTestBase extends OffCanvasTestBase {
/**
* {@inheritdoc}
*/
- protected static function getTestThemes() {
+ protected static function getTestThemes(): array {
// Remove 'claro' theme. Settings Tray "Edit Mode" will not work with this
// theme because it removes all contextual links.
return array_filter(parent::getTestThemes(), function ($theme) {