📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-07-03 09:17:29
📂
/ (Root)
/
opt
/
cpanel
/
ea-wappspector
/
vendor
/
rector
/
rector
/
vendor
/
rector
/
rector-downgrade-php
/
src
/
NodeAnalyzer
📍 /opt/cpanel/ea-wappspector/vendor/rector/rector/vendor/rector/rector-downgrade-php/src/NodeAnalyzer
🔄 Refresh
✏️
Editing: CoalesceAnalyzer.php
Read Only
<?php declare (strict_types=1); namespace Rector\NodeAnalyzer; use PhpParser\Node\Expr; use PhpParser\Node\Expr\ArrayDimFetch; use PhpParser\Node\Expr\BinaryOp\Coalesce; use PhpParser\Node\Expr\PropertyFetch; use PhpParser\Node\Expr\StaticPropertyFetch; use PhpParser\Node\Expr\Variable; final class CoalesceAnalyzer { /** * @var array<class-string<Expr>> */ private const ISSETABLE_EXPR = [Variable::class, ArrayDimFetch::class, PropertyFetch::class, StaticPropertyFetch::class]; public function hasIssetableLeft(Coalesce $coalesce) : bool { $leftClass = \get_class($coalesce->left); return \in_array($leftClass, self::ISSETABLE_EXPR, \true); } }
💾 Save Changes
❌ Cancel