diff --git a/src/Type/NetteTester/AssertTypeSpecifyingExtension.php b/src/Type/NetteTester/AssertTypeSpecifyingExtension.php index 4cef5d2..c8a9c4c 100644 --- a/src/Type/NetteTester/AssertTypeSpecifyingExtension.php +++ b/src/Type/NetteTester/AssertTypeSpecifyingExtension.php @@ -20,8 +20,6 @@ class AssertTypeSpecifyingExtension implements StaticMethodTypeSpecifyingExtensi private TypeSpecifier $typeSpecifier; /** - * @param Scope $scope - * @param string $name * @param Arg[] $args * @return Expr|NULL */ diff --git a/tests/Type/NetteTester/AssertTypeSpecifyingExtensionTest.php b/tests/Type/NetteTester/AssertTypeSpecifyingExtensionTest.php index cc38d8d..9321894 100644 --- a/tests/Type/NetteTester/AssertTypeSpecifyingExtensionTest.php +++ b/tests/Type/NetteTester/AssertTypeSpecifyingExtensionTest.php @@ -5,6 +5,7 @@ use PHPStan\Testing\TypeInferenceTestCase; +// phpcs:disable Squiz.Commenting.FunctionComment.InvalidTypeHint -- false positive reported on testFileAsserts class AssertTypeSpecifyingExtensionTest extends TypeInferenceTestCase { @@ -26,8 +27,6 @@ public function dataFileAsserts(): iterable /** * @dataProvider dataFileAsserts - * @param string $assertType - * @param string $file * @param mixed ...$args */ public function testFileAsserts(