aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/RichObjectStrings/DefinitionsTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/RichObjectStrings/DefinitionsTest.php')
-rw-r--r--tests/lib/RichObjectStrings/DefinitionsTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/RichObjectStrings/DefinitionsTest.php b/tests/lib/RichObjectStrings/DefinitionsTest.php
index 3b1db8fdc74..60ea820e844 100644
--- a/tests/lib/RichObjectStrings/DefinitionsTest.php
+++ b/tests/lib/RichObjectStrings/DefinitionsTest.php
@@ -31,10 +31,10 @@ class DefinitionsTest extends TestCase {
}
/**
- * @dataProvider dataGetDefinition
* @param string $type
* @param array $expected
*/
+ #[\PHPUnit\Framework\Attributes\DataProvider('dataGetDefinition')]
public function testGetDefinition($type, array $expected): void {
$definitions = new Definitions();
$definition = $definitions->getDefinition($type);