diff --git a/core/modules/system/tests/src/Functional/Theme/ThemeTokenTest.php b/core/modules/system/tests/src/Functional/Theme/ThemeTokenTest.php index 1488c5b3e4..4ecfb10b0d 100644 --- a/core/modules/system/tests/src/Functional/Theme/ThemeTokenTest.php +++ b/core/modules/system/tests/src/Functional/Theme/ThemeTokenTest.php @@ -16,7 +16,7 @@ class ThemeTokenTest extends BrowserTestBase { * * @var array */ - static public $modules = ['block']; + protected static $modules = ['block']; /** * {@inheritdoc} diff --git a/core/modules/system/tests/src/Kernel/PathHooksTest.php b/core/modules/system/tests/src/Kernel/PathHooksTest.php index fcbb499979..497610e3e9 100644 --- a/core/modules/system/tests/src/Kernel/PathHooksTest.php +++ b/core/modules/system/tests/src/Kernel/PathHooksTest.php @@ -15,7 +15,7 @@ class PathHooksTest extends KernelTestBase { /** * {@inheritdoc} */ - static public $modules = ['system']; + protected static $modules = ['system']; /** * Test system_path_*() correctly clears caches.