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 2020 * Learn more: https://phpstan.org/developing-extensions/rules
2121 *
2222 * @api
23- * @phpstan- template TNodeType of Node
23+ * @template TNodeType of Node
2424 */
2525interface Rule
2626{
2727
2828/**
29- * @phpstan- return class-string<TNodeType>
29+ * @return class-string<TNodeType>
3030 */
3131public function getNodeType (): string ;
3232
3333/**
34- * @phpstan- param TNodeType $node
34+ * @param TNodeType $node
3535 * @return (string|RuleError)[] errors
3636 */
3737public 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
4545private ?Analyser $ analyser = null ;
4646
4747/**
48- * @phpstan- return TRule
48+ * @return TRule
4949 */
5050abstract protected function getRule (): Rule ;
5151
You can’t perform that action at this time.
0 commit comments