rector/rules/Removing/ValueObject/RemoveFuncCallArg.php
Tomas Votruba d56e7982d0 Updated Rector to commit dedd4b55fe3e03cae9bd5ac822cfdccd8deb3fb6
dedd4b55fe make node_helper.php safe for similar names
2021-05-09 20:15:43 +00:00

30 lines
590 B
PHP

<?php
declare (strict_types=1);
namespace Rector\Removing\ValueObject;
final class RemoveFuncCallArg
{
/**
* @var string
*/
private $function;
/**
* @var int
*/
private $argumentPosition;
public function __construct(string $function, int $argumentPosition)
{
$this->function = $function;
$this->argumentPosition = $argumentPosition;
}
public function getFunction() : string
{
return $this->function;
}
public function getArgumentPosition() : int
{
return $this->argumentPosition;
}
}