✏️ 正在编辑: RemoveFuncCallArg.php
路径:
/opt/cpanel/ea-wappspector/vendor/rector/rector/rules/Removing/ValueObject/RemoveFuncCallArg.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php declare (strict_types=1); namespace Rector\Removing\ValueObject; use Rector\Validation\RectorAssert; final class RemoveFuncCallArg { /** * @readonly * @var string */ private $function; /** * @readonly * @var int */ private $argumentPosition; public function __construct(string $function, int $argumentPosition) { $this->function = $function; $this->argumentPosition = $argumentPosition; RectorAssert::functionName($function); } public function getFunction() : string { return $this->function; } public function getArgumentPosition() : int { return $this->argumentPosition; } }
💾 保存文件
← 返回文件管理器