Skip to content

Commit 7434f28

Browse files
committed
Remove unnesesarry phpdoc
1 parent 610061d commit 7434f28

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

composer-require-checker.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"PHPStan\\Type\\ArrayType",
1717
"PHPStan\\Type\\Constant\\ConstantStringType",
1818
"PHPStan\\Type\\ObjectType",
19-
"PHPStan\\Type\\Type"
19+
"PHPStan\\Type\\Type",
20+
"PhpParser\\Node\\Expr\\FuncCall"
2021
]
2122
}

src/Rules/ResourceOperationFuncCallRule.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@
88
use PhpParser\Node\Name;
99
use PHPStan\Analyser\Scope;
1010
use PHPStan\Rules\Rule;
11-
use PHPStan\Rules\RuleError;
1211
use PHPStan\Rules\RuleErrorBuilder;
13-
use PHPStan\ShouldNotHappenException;
1412
use Sfp\ResourceOperations\ResourceOperations;
1513

1614
use function in_array;
@@ -26,11 +24,6 @@ public function getNodeType(): string
2624
return Node\Expr\FuncCall::class;
2725
}
2826

29-
/**
30-
* @param Node\Expr\FuncCall $node
31-
* @return array|RuleError[]|string[]
32-
* @throws ShouldNotHappenException
33-
*/
3427
public function processNode(Node $node, Scope $scope): array
3528
{
3629
if ($scope->getFunctionName() !== '__construct') {

0 commit comments

Comments
 (0)