?????????? ????????? - ??????????????? - /opt/cpanel/ea-wappspector/vendor/rector/rector/rules/TypeDeclaration/TypeAnalyzer/GenericClassStringTypeNormalizer.php
???????
<?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; } }
| ver. 1.6 |
Github
|
.
| PHP 8.2.30 | ??????????? ?????????: 0 |
proxy
|
phpinfo
|
???????????