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.
1 parent 74fc363 commit c17dbe7Copy full SHA for c17dbe7
build/phpstan.neon
@@ -125,6 +125,7 @@ parameters:
125
- stubs/NetteDIContainer.stub
126
- stubs/PhpParserName.stub
127
- stubs/PhpParserExpr.stub
128
+ - stubs/PhpParserStmt.stub
129
- stubs/Identifier.stub
130
131
rules:
build/stubs/PhpParserStmt.stub
@@ -0,0 +1,17 @@
1
+<?php
2
+
3
+namespace PhpParser\Node\Stmt;
4
5
+use PhpParser\Modifiers;
6
+use PhpParser\Node;
7
+use PhpParser\Node\FunctionLike;
8
9
+class ClassMethod extends Node\Stmt implements FunctionLike {
10
+ /** @var list<Node\Stmt>|null Statements */
11
+ public ?array $stmts;
12
+}
13
14
+class If_ extends Node\Stmt {
15
+ /** @var list<Node\Stmt> Statements */
16
+ public array $stmts;
17
0 commit comments