Skip to content

Commit 3d086e5

Browse files
committed
Fix data provider
1 parent 91d45f8 commit 3d086e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/tests/PHPStan/TestDynamicReturnTypeExtension.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ public static function dataFileAsserts(): iterable {
2020
* @dataProvider dataFileAsserts
2121
* @param array<string> ...$args
2222
*/
23+
#[DataProvider( 'dataFileAsserts' )] // phpcs:ignore PHPCompatibility.Attributes.NewAttributes.PHPUnitAttributeFound
2324
public function testFileAsserts( string $assertType, string $file, ...$args ): void {
2425
$this->assertFileAsserts( $assertType, $file, ...$args );
2526
}

0 commit comments

Comments
 (0)