Skip to content

Commit f4b1d05

Browse files
committed
Remove unneeded PHPDoc on rules
1 parent 662edef commit f4b1d05

7 files changed

+0
-20
lines changed

src/Rules/Classes/CacheHandlerInstantiationRule.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ public function getNodeType(): string
3232
return Node\Expr\New_::class;
3333
}
3434

35-
/**
36-
* @param Node\Expr\New_ $node
37-
*/
3835
public function processNode(Node $node, Scope $scope): array
3936
{
4037
if (! $node->class instanceof Node\Name) {

src/Rules/Classes/FrameworkExceptionInstantiationRule.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ public function getNodeType(): string
3131
return Node\Expr\New_::class;
3232
}
3333

34-
/**
35-
* @param Node\Expr\New_ $node
36-
*/
3734
public function processNode(Node $node, Scope $scope): array
3835
{
3936
$class = $node->class;

src/Rules/Functions/FactoriesFunctionArgumentTypeRule.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,6 @@ public function getNodeType(): string
6060
return Node\Expr\FuncCall::class;
6161
}
6262

63-
/**
64-
* @param Node\Expr\FuncCall $node
65-
*/
6663
public function processNode(Node $node, Scope $scope): array
6764
{
6865
if (! $node->name instanceof Node\Name) {

src/Rules/Functions/NoClassConstFetchOnFactoriesFunctions.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,6 @@ public function getNodeType(): string
4444
return Node\Expr\FuncCall::class;
4545
}
4646

47-
/**
48-
* @param Node\Expr\FuncCall $node
49-
*/
5047
public function processNode(Node $node, Scope $scope): array
5148
{
5249
if (! $node->name instanceof Node\Name) {

src/Rules/Functions/ServicesFunctionArgumentTypeRule.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ public function getNodeType(): string
3838
return Node\Expr\FuncCall::class;
3939
}
4040

41-
/**
42-
* @param Node\Expr\FuncCall $node
43-
*/
4441
public function processNode(Node $node, Scope $scope): array
4542
{
4643
if (! $node->name instanceof Node\Name) {

src/Rules/Superglobals/SuperglobalAccessRule.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ public function getNodeType(): string
3535
}
3636

3737
/**
38-
* @param Node\Expr\ArrayDimFetch $node
39-
*
4038
* @return list<IdentifierRuleError>
4139
*/
4240
public function processNode(Node $node, Scope $scope): array

src/Rules/Superglobals/SuperglobalAssignRule.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ public function getNodeType(): string
3535
return Node\Expr\Assign::class;
3636
}
3737

38-
/**
39-
* @param Node\Expr\Assign $node
40-
*/
4138
public function processNode(Node $node, Scope $scope): array
4239
{
4340
if ($node->var instanceof Node\Expr\ArrayDimFetch) {

0 commit comments

Comments
 (0)