/opt/cpanel/ea-wappspector/vendor/rector/rector/rules/Transform/ValueObject
Edit: /opt/cpanel/ea-wappspector/vendor/rector/rector/rules/Transform/ValueObject/ParentClassToTraits.php (945B)
parentType = $parentType;
$this->traitNames = $traitNames;
RectorAssert::className($parentType);
Assert::allString($traitNames);
}
public function getParentType() : string
{
return $this->parentType;
}
/**
* @return string[]
*/
public function getTraitNames() : array
{
// keep the Trait order the way it is in config
return \array_reverse($this->traitNames);
}
}