Skip to content

Commit 5950910

Browse files
ruudkondrejmirtes
authored andcommitted
Add @api to TypeExpr
See phpstan/phpstan#11960
1 parent d5486cd commit 5950910

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Node/Expr/TypeExpr.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,13 @@
66
use PHPStan\Node\VirtualNode;
77
use PHPStan\Type\Type;
88

9+
/**
10+
* @api
11+
*/
912
final class TypeExpr extends Expr implements VirtualNode
1013
{
1114

15+
/** @api */
1216
public function __construct(private Type $exprType)
1317
{
1418
parent::__construct();

0 commit comments

Comments
 (0)