Skip to content

Commit 97d18ea

Browse files
committed
Fix build
1 parent 69bc46f commit 97d18ea

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Diff for: tests/PHPStan/Printer/PrinterTest.php

+7
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
use PHPStan\PhpDocParser\Ast\Type\ObjectShapeItemNode;
2727
use PHPStan\PhpDocParser\Ast\Type\ObjectShapeNode;
2828
use PHPStan\PhpDocParser\Ast\Type\OffsetAccessTypeNode;
29+
use PHPStan\PhpDocParser\Ast\Type\TypeNode;
2930
use PHPStan\PhpDocParser\Ast\Type\UnionTypeNode;
3031
use PHPStan\PhpDocParser\Lexer\Lexer;
3132
use PHPStan\PhpDocParser\Parser\ConstExprParser;
@@ -1217,6 +1218,9 @@ public function enterNode(Node $node)
12171218
return $traverser->traverse([$node])[0];
12181219
}
12191220

1221+
/**
1222+
* @return iterable<list{TypeNode, string}>
1223+
*/
12201224
public function dataPrintType(): iterable
12211225
{
12221226
yield [
@@ -1241,6 +1245,9 @@ public function testPrintType(TypeNode $node, string $expectedResult): void
12411245
);
12421246
}
12431247

1248+
/**
1249+
* @return iterable<list{PhpDocNode, string}>
1250+
*/
12441251
public function dataPrintPhpDocNode(): iterable
12451252
{
12461253
yield [

0 commit comments

Comments
 (0)