Skip to content

Commit 01b74e8

Browse files
committed
Remove superfluous PHPDocs on PHPStan rules
1 parent 238c27d commit 01b74e8

File tree

5 files changed

+0
-15
lines changed

5 files changed

+0
-15
lines changed

src/Nexus/PHPStan/Rules/CleanCode/DisallowedErrorSuppressionOperatorRule.php

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

32-
/**
33-
* @param Node\Expr\ErrorSuppress $node
34-
*/
3532
public function processNode(Node $node, Scope $scope): array
3633
{
3734
if (

src/Nexus/PHPStan/Rules/Constants/ClassConstantNamingRule.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\Stmt\ClassConst::class;
3333
}
3434

35-
/**
36-
* @param Node\Stmt\ClassConst $node
37-
*/
3835
public function processNode(Node $node, Scope $scope): array
3936
{
4037
if (! $scope->isInClass()) {

src/Nexus/PHPStan/Rules/Functions/FunctionNamingRule.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ public function getNodeType(): string
2929
return Node\Stmt\Function_::class;
3030
}
3131

32-
/**
33-
* @param Node\Stmt\Function_ $node
34-
*/
3532
public function processNode(Node $node, Scope $scope): array
3633
{
3734
if (null === $node->namespacedName) {

src/Nexus/PHPStan/Rules/Methods/MethodNamingRule.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ public function getNodeType(): string
2929
return InClassMethodNode::class;
3030
}
3131

32-
/**
33-
* @param InClassMethodNode $node
34-
*/
3532
public function processNode(Node $node, Scope $scope): array
3633
{
3734
$method = $node->getOriginalNode();

src/Nexus/PHPStan/Rules/Properties/PropertyNamingRule.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 ClassPropertyNode::class;
3232
}
3333

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

0 commit comments

Comments
 (0)