📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-07-01 12:16:03
📂
/ (Root)
/
opt
/
cpanel
/
ea-wappspector
/
vendor
/
rector
/
rector
/
rules
/
TypeDeclaration
/
TypeAnalyzer
📍 /opt/cpanel/ea-wappspector/vendor/rector/rector/rules/TypeDeclaration/TypeAnalyzer
🔄 Refresh
✏️
Editing: GenericClassStringTypeNormalizer.php
Read Only
<?php declare (strict_types=1); namespace Rector\TypeDeclaration\TypeAnalyzer; use PHPStan\Type\Generic\GenericClassStringType; use PHPStan\Type\UnionType; final class GenericClassStringTypeNormalizer { public function isAllGenericClassStringType(UnionType $unionType) : bool { foreach ($unionType->getTypes() as $type) { if (!$type instanceof GenericClassStringType) { return \false; } } return \true; } }
💾 Save Changes
❌ Cancel