From 51341d63e12dd86ff8b55d9fc7da4f69796409ad Mon Sep 17 00:00:00 2001 From: Grevil <js@webks.de> Date: Tue, 4 Jun 2024 13:52:22 +0200 Subject: [PATCH] Set "providerNormalize" and "provideCountSignificantDecimals" static --- core/tests/Drupal/Tests/Component/Utility/NumberTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/tests/Drupal/Tests/Component/Utility/NumberTest.php b/core/tests/Drupal/Tests/Component/Utility/NumberTest.php index 8ab1fc59eb41..4cfdceed8e76 100644 --- a/core/tests/Drupal/Tests/Component/Utility/NumberTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/NumberTest.php @@ -53,7 +53,7 @@ public function testNormalize($number, $expected) { /** * Provides data to self::testNormalize(). */ - public function providerNormalize() { + public static function providerNormalize() { return [ ['', ''], [0, 0], @@ -85,7 +85,7 @@ public function testCountSignificantDecimals($expected, $number) { /** * Provides data to self::testCountSignificantDecimals(). */ - public function provideCountSignificantDecimals() { + public static function provideCountSignificantDecimals() { return [ [0, 0], [0, '0'], -- GitLab