tests: phpdoc cleanup

This commit is contained in:
Dylan K. Taylor 2020-11-01 14:23:44 +00:00
parent d6d9dde0b2
commit be1da07ee5
4 changed files with 0 additions and 13 deletions

View File

@ -39,7 +39,6 @@ class BrewingStandTest extends TestCase{
} }
/** /**
*
* @dataProvider slotsProvider * @dataProvider slotsProvider
* *
* @param BrewingStandSlot[] $slots * @param BrewingStandSlot[] $slots

View File

@ -54,9 +54,6 @@ class HandlerListManagerTest extends TestCase{
/** /**
* @dataProvider isValidClassProvider * @dataProvider isValidClassProvider
* *
* @param \ReflectionClass $class
* @param bool $isValid
* @param string $reason
* @phpstan-param \ReflectionClass<Event> $class * @phpstan-param \ReflectionClass<Event> $class
*/ */
public function testIsValidClass(\ReflectionClass $class, bool $isValid, string $reason) : void{ public function testIsValidClass(\ReflectionClass $class, bool $isValid, string $reason) : void{
@ -77,8 +74,6 @@ class HandlerListManagerTest extends TestCase{
/** /**
* @dataProvider resolveParentClassProvider * @dataProvider resolveParentClassProvider
* *
* @param \ReflectionClass $class
* @param \ReflectionClass|null $expect
* @phpstan-param \ReflectionClass<Event> $class * @phpstan-param \ReflectionClass<Event> $class
* @phpstan-param \ReflectionClass<Event>|null $expect * @phpstan-param \ReflectionClass<Event>|null $expect
*/ */

View File

@ -45,9 +45,6 @@ class LegacyStringToItemParserTest extends TestCase{
/** /**
* @dataProvider itemFromStringProvider * @dataProvider itemFromStringProvider
* @param string $string
* @param int $id
* @param int $meta
*/ */
public function testFromStringSingle(string $string, int $id, int $meta) : void{ public function testFromStringSingle(string $string, int $id, int $meta) : void{
$item = LegacyStringToItemParser::getInstance()->parse($string); $item = LegacyStringToItemParser::getInstance()->parse($string);

View File

@ -49,10 +49,6 @@ class ApiVersionTest extends TestCase{
/** /**
* @dataProvider compatibleApiProvider * @dataProvider compatibleApiProvider
*
* @param string $myVersion
* @param string $wantVersion
* @param bool $expected
*/ */
public function testCompatibleApi(string $myVersion, string $wantVersion, bool $expected) : void{ public function testCompatibleApi(string $myVersion, string $wantVersion, bool $expected) : void{
self::assertSame($expected, ApiVersion::isCompatible($myVersion, [$wantVersion]), "my version: $myVersion, their version: $wantVersion, expect " . ($expected ? "yes" : "no")); self::assertSame($expected, ApiVersion::isCompatible($myVersion, [$wantVersion]), "my version: $myVersion, their version: $wantVersion, expect " . ($expected ? "yes" : "no"));