File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 20
20
* Learn more: https://phpstan.org/developing-extensions/rules
21
21
*
22
22
* @api
23
- * @phpstan- template TNodeType of Node
23
+ * @template TNodeType of Node
24
24
*/
25
25
interface Rule
26
26
{
27
27
28
28
/**
29
- * @phpstan- return class-string<TNodeType>
29
+ * @return class-string<TNodeType>
30
30
*/
31
31
public function getNodeType (): string ;
32
32
33
33
/**
34
- * @phpstan- param TNodeType $node
34
+ * @param TNodeType $node
35
35
* @return (string|RuleError)[] errors
36
36
*/
37
37
public function processNode (Node $ node , Scope $ scope ): array ;
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ abstract class RuleTestCase extends PHPStanTestCase
45
45
private ?Analyser $ analyser = null ;
46
46
47
47
/**
48
- * @phpstan- return TRule
48
+ * @return TRule
49
49
*/
50
50
abstract protected function getRule (): Rule ;
51
51
You can’t perform that action at this time.
0 commit comments