mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-21 01:41:00 +01:00
35 lines
592 B
PHP
35 lines
592 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;
|
|
}
|
|
}
|