We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1661589 + e5fe80d commit 33f7273Copy full SHA for 33f7273
phpstan.neon.dist
@@ -6,3 +6,4 @@ parameters:
6
level: max
7
paths:
8
- src
9
+ - tests
tests/ObjectGraphGeneratorTest.php
@@ -17,8 +17,7 @@ class ObjectGraphGeneratorTest extends TestCase
17
/**
18
* @test
19
* @dataProvider dataForTest
20
- *
21
- * @param string $class
+ * @param class-string $class
22
*/
23
public function itShouldGenerateObjectOfGivenType(string $class): void
24
{
@@ -42,6 +41,9 @@ public function itShouldUseTemporaryConfigBeforeRegistry(): void
42
41
$this->assertTrue($actual->isBar());
43
}
44
+ /**
45
+ * @return array<string,array<class-string>>
46
+ */
47
public function dataForTest(): array
48
49
return [
0 commit comments