rector/rules/Removing/ValueObject/RemoveFuncCall.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

36 lines
799 B
PHP

<?php
declare (strict_types=1);
namespace Rector\Removing\ValueObject;
final class RemoveFuncCall
{
/**
* @var string
*/
private $funcCall;
/**
* @var array<int, mixed[]>
*/
private $argumentPositionAndValues = [];
/**
* @param array<int, mixed[]> $argumentPositionAndValues
*/
public function __construct(string $funcCall, array $argumentPositionAndValues = [])
{
$this->funcCall = $funcCall;
$this->argumentPositionAndValues = $argumentPositionAndValues;
}
public function getFuncCall() : string
{
return $this->funcCall;
}
/**
* @return array<int, mixed[]>
*/
public function getArgumentPositionAndValues() : array
{
return $this->argumentPositionAndValues;
}
}