🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-06-15 07:39:46 | PHP 8.1.34
📂
/ (Root)
/
opt
/
cpanel
/
ea-wappspector
/
vendor
/
rector
/
rector
/
src
/
BetterPhpDocParser
/
PhpDocNodeVisitor
📍 /opt/cpanel/ea-wappspector/vendor/rector/rector/src/BetterPhpDocParser/PhpDocNodeVisitor
🔄 Refresh
✏️
Editing: ChangedPhpDocNodeVisitor.php
Read Only
<?php declare (strict_types=1); namespace Rector\BetterPhpDocParser\PhpDocNodeVisitor; use PHPStan\PhpDocParser\Ast\Node; use Rector\BetterPhpDocParser\ValueObject\PhpDocAttributeKey; use Rector\PhpDocParser\PhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; final class ChangedPhpDocNodeVisitor extends AbstractPhpDocNodeVisitor { /** * @var bool */ private $hasChanged = \false; public function beforeTraverse(Node $node) : void { $this->hasChanged = \false; } public function enterNode(Node $node) : ?Node { $origNode = $node->getAttribute(PhpDocAttributeKey::ORIG_NODE); if ($origNode === null) { $this->hasChanged = \true; } return null; } public function hasChanged() : bool { return $this->hasChanged; } }
💾 Save Changes
❌ Cancel