Файловый менеджер - Редактировать - /opt/cpanel/ea-wappspector/vendor/rector/rector/src/PHPStanStaticTypeMapper/TypeMapper/ThisTypeMapper.php
Ðазад
<?php declare (strict_types=1); namespace Rector\PHPStanStaticTypeMapper\TypeMapper; use PhpParser\Node; use PhpParser\Node\Name; use PHPStan\PhpDocParser\Ast\Type\TypeNode; use PHPStan\Type\ThisType; use PHPStan\Type\Type; use Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface; /** * @implements TypeMapperInterface<ThisType> */ final class ThisTypeMapper implements TypeMapperInterface { public function getNodeClass() : string { return ThisType::class; } /** * @param ThisType $type */ public function mapToPHPStanPhpDocTypeNode(Type $type) : TypeNode { return $type->toPhpDocNode(); } /** * @param ThisType $type */ public function mapToPhpParserNode(Type $type, string $typeKind) : ?Node { return new Name('self'); } }
| ver. 1.1 | |
.
| PHP 8.3.30 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка