Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update NativeTypedClassConstantRule.php
  • Loading branch information
staabm committed Sep 21, 2026
commit 05ef9bc6dcd05b553a437aae0ba60f899f34230d
5 changes: 0 additions & 5 deletions src/Rules/Constants/NativeTypedClassConstantRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use PhpParser\Node;
use PHPStan\Analyser\Scope;
use PHPStan\DependencyInjection\RegisteredRule;
use PHPStan\Php\PhpVersion;
use PHPStan\Rules\Rule;
use PHPStan\Rules\RuleErrorBuilder;

Expand All @@ -16,10 +15,6 @@
final class NativeTypedClassConstantRule implements Rule
{

public function __construct(private PhpVersion $phpVersion)
{
}

public function getNodeType(): string
{
return Node\Stmt\ClassConst::class;
Expand Down
Loading