Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"nette/utils": "^2.3.0 || ^3.0.0",
"php-parallel-lint/php-parallel-lint": "^1.2",
"phpstan/phpstan-deprecation-rules": "^2.0",
"phpstan/phpstan-phpunit": "^2.0",
"phpstan/phpstan-phpunit": "^2.0.8",
"phpstan/phpstan-strict-rules": "^2.0",
"phpunit/phpunit": "^9.6"
},
Expand Down
6 changes: 0 additions & 6 deletions tests/Reflection/Nette/HtmlClassReflectionExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ protected function setUp(): void
$this->extension = new HtmlClassReflectionExtension();
}

/**
* @return mixed[]
*/
public function dataHasMethod(): array
{
return [
Expand Down Expand Up @@ -62,9 +59,6 @@ public function testGetMethod(): void
self::assertSame(Html::class, $parametersAcceptor->getReturnType()->describe(VerbosityLevel::value()));
}

/**
* @return mixed[]
*/
public function dataHasProperty(): array
{
return [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ protected function setUp(): void
$this->extension = new NetteObjectClassReflectionExtension();
}

/**
* @return mixed[]
*/
public function dataHasMethod(): array
{
$data = [];
Expand Down Expand Up @@ -62,9 +59,6 @@ public function testHasMethod(string $className, string $method, bool $result):
self::assertSame($result, $this->extension->hasMethod($classReflection, $method));
}

/**
* @return mixed[]
*/
public function dataHasProperty(): array
{
$data = [];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
class ComponentModelArrayAccessDynamicReturnTypeExtensionTest extends TypeInferenceTestCase
{

/**
* @return iterable<string, mixed[]>
*/
public function dataFileAsserts(): iterable
{
yield from self::gatherAssertTypes(__DIR__ . '/data/componentModelArrayAccess.php');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
class ComponentModelDynamicReturnTypeExtensionTest extends TypeInferenceTestCase
{

/**
* @return iterable<string, mixed[]>
*/
public function dataFileAsserts(): iterable
{
yield from self::gatherAssertTypes(__DIR__ . '/data/componentModel.php');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
final class FormContainerValuesDynamicReturnTypeExtensionTest extends TypeInferenceTestCase
{

/**
* @return iterable<string, mixed[]>
*/
public static function dataFileAsserts(): iterable
{
yield from self::gatherAssertTypes(__DIR__ . '/data/FormContainerModel.php');
Expand Down
1 change: 0 additions & 1 deletion tests/Type/Nette/MultiplierTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
class MultiplierTest extends TypeInferenceTestCase
{

/** @return iterable<mixed> */
public function dataFileAsserts(): iterable
{
yield from self::gatherAssertTypes(__DIR__ . '/data/multiplier.php');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
class StringsMatchDynamicReturnTypeExtensionTest extends TypeInferenceTestCase
{

/**
* @return iterable<string, mixed[]>
*/
public function dataFileAsserts(): iterable
{
yield from self::gatherAssertTypes(__DIR__ . '/data/strings-match.php');
Expand Down