/opt/cpanel/ea-wappspector/vendor/rector/rector/rules/Arguments/ValueObject
Edit: /opt/cpanel/ea-wappspector/vendor/rector/rector/rules/Arguments/ValueObject/ArgumentAdder.php (2045B)
class = $class;
$this->method = $method;
$this->position = $position;
$this->argumentName = $argumentName;
$this->argumentDefaultValue = $argumentDefaultValue;
$this->argumentType = $argumentType;
$this->scope = $scope;
RectorAssert::className($class);
}
public function getObjectType() : ObjectType
{
return new ObjectType($this->class);
}
public function getMethod() : string
{
return $this->method;
}
public function getPosition() : int
{
return $this->position;
}
public function getArgumentName() : ?string
{
return $this->argumentName;
}
/**
* @return mixed|null
*/
public function getArgumentDefaultValue()
{
return $this->argumentDefaultValue;
}
public function getArgumentType() : ?Type
{
return $this->argumentType;
}
public function getScope() : ?string
{
return $this->scope;
}
}