Skip to content

Commit

Permalink
Remove superfluous PHPDocs on PHPStan rules
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbalandan committed Dec 17, 2024
1 parent 238c27d commit 01b74e8
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ public function getNodeType(): string
return Node\Expr\ErrorSuppress::class;
}

/**
* @param Node\Expr\ErrorSuppress $node
*/
public function processNode(Node $node, Scope $scope): array
{
if (
Expand Down
3 changes: 0 additions & 3 deletions src/Nexus/PHPStan/Rules/Constants/ClassConstantNamingRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ public function getNodeType(): string
return Node\Stmt\ClassConst::class;
}

/**
* @param Node\Stmt\ClassConst $node
*/
public function processNode(Node $node, Scope $scope): array
{
if (! $scope->isInClass()) {
Expand Down
3 changes: 0 additions & 3 deletions src/Nexus/PHPStan/Rules/Functions/FunctionNamingRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ public function getNodeType(): string
return Node\Stmt\Function_::class;
}

/**
* @param Node\Stmt\Function_ $node
*/
public function processNode(Node $node, Scope $scope): array
{
if (null === $node->namespacedName) {
Expand Down
3 changes: 0 additions & 3 deletions src/Nexus/PHPStan/Rules/Methods/MethodNamingRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ public function getNodeType(): string
return InClassMethodNode::class;
}

/**
* @param InClassMethodNode $node
*/
public function processNode(Node $node, Scope $scope): array
{
$method = $node->getOriginalNode();
Expand Down
3 changes: 0 additions & 3 deletions src/Nexus/PHPStan/Rules/Properties/PropertyNamingRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ public function getNodeType(): string
return ClassPropertyNode::class;
}

/**
* @param ClassPropertyNode $node
*/
public function processNode(Node $node, Scope $scope): array
{
$classReflection = $node->getClassReflection();
Expand Down

0 comments on commit 01b74e8

Please sign in to comment.