File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tests/PHPStan/Rules/Methods Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ public static function dataOverridingFinalMethod(): array
5555 ];
5656 }
5757
58- #[DataProvider('dataOverridingFinalMethod ' )]
58+ #[DataProvider('dataOverridingFinalMethod ' , validateArgumentCount: false )]
5959 public function testOverridingFinalMethod (int $ phpVersion , string $ contravariantMessage ): void
6060 {
6161 $ errors = [
@@ -321,7 +321,7 @@ public function testVariadicParameterIsAlwaysOptional(): void
321321 $ this ->analyse ([__DIR__ . '/data/variadic-always-optional.php ' ], []);
322322 }
323323
324- #[DataProvider('dataOverridingFinalMethod ' )]
324+ #[DataProvider('dataOverridingFinalMethod ' , validateArgumentCount: false )]
325325 public function testBug3403 (int $ phpVersion ): void
326326 {
327327 $ this ->phpVersionId = $ phpVersion ;
You can’t perform that action at this time.
0 commit comments