🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-06-15 06:40:02 | PHP 8.1.34
📂
/ (Root)
/
opt
/
cpanel
/
ea-wappspector
/
vendor
/
rector
/
rector
/
src
/
BetterPhpDocParser
/
Printer
📍 /opt/cpanel/ea-wappspector/vendor/rector/rector/src/BetterPhpDocParser/Printer
🔄 Refresh
✏️
Editing: EmptyPhpDocDetector.php
Read Only
<?php declare (strict_types=1); namespace Rector\BetterPhpDocParser\Printer; use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocNode; use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTextNode; final class EmptyPhpDocDetector { public function isPhpDocNodeEmpty(PhpDocNode $phpDocNode) : bool { if ($phpDocNode->children === []) { return \true; } foreach ($phpDocNode->children as $phpDocChildNode) { if ($phpDocChildNode instanceof PhpDocTextNode) { if ($phpDocChildNode->text !== '') { return \false; } } else { return \false; } } return \true; } }
💾 Save Changes
❌ Cancel