REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.13 KB
Close
//opt/cpanel/ea-wappspector/vendor/rector/rector/rules/Removing/ValueObject/ArgumentRemover.php
Text
Base64
<?php declare (strict_types=1); namespace Rector\Removing\ValueObject; use PHPStan\Type\ObjectType; use Rector\Validation\RectorAssert; final class ArgumentRemover { /** * @readonly * @var string */ private $class; /** * @readonly * @var string */ private $method; /** * @readonly * @var int */ private $position; /** * @readonly * @var mixed */ private $value; /** * @param mixed $value */ public function __construct(string $class, string $method, int $position, $value) { $this->class = $class; $this->method = $method; $this->position = $position; $this->value = $value; 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; } /** * @return mixed */ public function getValue() { return $this->value; } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 2
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
ArgumentRemover.php
1.13 KB
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RemoveFuncCallArg.php
707 B
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).