Skip to content

Commit

Permalink
Fix template type on throws doc
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosas authored Apr 27, 2024
2 parents 3e94a4a + 288a240 commit 7a46276
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@

use PhpParser\Node;
use PHPStan\Analyser\Scope;
use PHPStan\Node\InClassMethodNode;
use PHPStan\PhpDoc\Tag\ThrowsTag;
use PHPStan\ShouldNotHappenException;

trait ThrowsTagExtractor
{
public function getNodeType(): string
{
return Node\Stmt\ClassMethod::class;
return InClassMethodNode::class;
}

/**
Expand Down

0 comments on commit 7a46276

Please sign in to comment.