Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed May 2, 2023
1 parent 69bc46f commit 97d18ea
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/PHPStan/Printer/PrinterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
use PHPStan\PhpDocParser\Ast\Type\ObjectShapeItemNode;
use PHPStan\PhpDocParser\Ast\Type\ObjectShapeNode;
use PHPStan\PhpDocParser\Ast\Type\OffsetAccessTypeNode;
use PHPStan\PhpDocParser\Ast\Type\TypeNode;
use PHPStan\PhpDocParser\Ast\Type\UnionTypeNode;
use PHPStan\PhpDocParser\Lexer\Lexer;
use PHPStan\PhpDocParser\Parser\ConstExprParser;
Expand Down Expand Up @@ -1217,6 +1218,9 @@ public function enterNode(Node $node)
return $traverser->traverse([$node])[0];
}

/**
* @return iterable<list{TypeNode, string}>
*/
public function dataPrintType(): iterable
{
yield [
Expand All @@ -1241,6 +1245,9 @@ public function testPrintType(TypeNode $node, string $expectedResult): void
);
}

/**
* @return iterable<list{PhpDocNode, string}>
*/
public function dataPrintPhpDocNode(): iterable
{
yield [
Expand Down

0 comments on commit 97d18ea

Please sign in to comment.