░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
vps.doorgans.com
LOCATION:
/opt/cpanel/ea-wappspector/vendor/rector/rector/rules/Php74/Guard
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: 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); } }
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 MakePropertyTypedGuard.php
PHP
791 B
2024-11-08 13:59
EDIT
📄 PropertyTypeChangeGuard.php
PHP
2.7 KB
2024-11-08 13:59
EDIT