Fix phpdoc type-hints

This commit is contained in:
Mert Aşan
2024-09-12 03:51:20 +03:00
parent bab193e7e1
commit 668685498f

View File

@ -51,7 +51,7 @@ final class TestCall
/** /**
* This property is not actually used in the codebase, it's only here to make Rector happy. * This property is not actually used in the codebase, it's only here to make Rector happy.
* *
* @var array<class-string|string> * @var array<int|string, class-string|array<class-string|string>>
*/ */
public array $references; public array $references;
@ -623,11 +623,10 @@ final class TestCall
} }
/** /**
* Adds a reference to the tested method or class. * Adds a reference to the tested method or class. This helps to link test
* This helps to link test cases to the source code * cases to the source code for easier navigation.
* for easier navigation during development.
* *
* @param string|array<class-string|string> $classes * @param array<class-string|string>|class-string ...$classes
*/ */
public function reference(string|array ...$classes): self public function reference(string|array ...$classes): self
{ {