REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.65 KB
Close
//opt/cpanel/ea-wappspector/vendor/rector/rector/rules/Arguments/ValueObject/ArgumentAdderWithoutDefaultValue.php
Text
Base64
<?php declare (strict_types=1); namespace Rector\Arguments\ValueObject; use PHPStan\Type\ObjectType; use PHPStan\Type\Type; use Rector\Validation\RectorAssert; final class ArgumentAdderWithoutDefaultValue { /** * @readonly * @var string */ private $class; /** * @readonly * @var string */ private $method; /** * @readonly * @var int */ private $position; /** * @readonly * @var string|null */ private $argumentName; /** * @readonly * @var \PHPStan\Type\Type|null */ private $argumentType = null; /** * @readonly * @var string|null */ private $scope; public function __construct(string $class, string $method, int $position, ?string $argumentName = null, ?\PHPStan\Type\Type $argumentType = null, ?string $scope = null) { $this->class = $class; $this->method = $method; $this->position = $position; $this->argumentName = $argumentName; $this->argumentType = $argumentType; $this->scope = $scope; 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; } public function getArgumentName() : ?string { return $this->argumentName; } public function getArgumentType() : ?Type { return $this->argumentType; } public function getScope() : ?string { return $this->scope; } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 5
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
ArgumentAdder.php
2.00 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
ArgumentAdderWithoutDefaultValue.php
1.65 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
RemoveMethodCallParam.php
1000 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
ReplaceArgumentDefaultValue.php
1.70 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
ReplaceFuncCallArgumentDefaultValue.php
1.27 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
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).