Файловый менеджер - Редактировать - /opt/cpanel/ea-wappspector/vendor/rector/rector/rules/Php74/Guard/MakePropertyTypedGuard.php
Ðазад
<?php declare (strict_types=1); namespace Rector\Php74\Guard; use PhpParser\Node\Stmt\Property; use PHPStan\Reflection\ClassReflection; final class MakePropertyTypedGuard { /** * @readonly * @var \Rector\Php74\Guard\PropertyTypeChangeGuard */ private $propertyTypeChangeGuard; public function __construct(\Rector\Php74\Guard\PropertyTypeChangeGuard $propertyTypeChangeGuard) { $this->propertyTypeChangeGuard = $propertyTypeChangeGuard; } public function isLegal(Property $property, ClassReflection $classReflection, bool $inlinePublic = \true) : bool { if ($property->type !== null) { return \false; } return $this->propertyTypeChangeGuard->isLegal($property, $classReflection, $inlinePublic); } }
| ver. 1.1 | |
.
| PHP 8.3.30 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка