diff --git a/src/Symfony/Component/String/Tests/FunctionsTest.php b/src/Symfony/Component/String/Tests/FunctionsTest.php index 1f2776e889..dba056528b 100644 --- a/src/Symfony/Component/String/Tests/FunctionsTest.php +++ b/src/Symfony/Component/String/Tests/FunctionsTest.php @@ -20,14 +20,14 @@ use function Symfony\Component\String\s; final class FunctionsTest extends TestCase { /** - * @dataProvider provideS + * @dataProvider provideStrings */ public function testS(AbstractString $expected, string $input) { $this->assertEquals($expected, s($input)); } - public function provideS() + public function provideStrings(): array { return [ [new UnicodeString('foo'), 'foo'],