REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.71 KB
Close
//opt/cpanel/ea-wappspector/vendor/rector/rector/rules/Renaming/ValueObject/RenameFunctionLikeParamWithinCallLikeArg.php
Text
Base64
<?php declare (strict_types=1); namespace Rector\Renaming\ValueObject; use PHPStan\Type\ObjectType; use Rector\Validation\RectorAssert; final class RenameFunctionLikeParamWithinCallLikeArg { /** * @readonly * @var string */ private $className; /** * @readonly * @var string */ private $methodName; /** * @var int<0, max>|string * @readonly */ private $callLikePosition; /** * @var int<0, max> * @readonly */ private $functionLikePosition; /** * @readonly * @var string */ private $newParamName; /** * @param int<0, max>|string $callLikePosition * @param int<0, max> $functionLikePosition */ public function __construct(string $className, string $methodName, $callLikePosition, int $functionLikePosition, string $newParamName) { $this->className = $className; $this->methodName = $methodName; $this->callLikePosition = $callLikePosition; $this->functionLikePosition = $functionLikePosition; $this->newParamName = $newParamName; RectorAssert::className($className); } public function getObjectType() : ObjectType { return new ObjectType($this->className); } public function getMethodName() : string { return $this->methodName; } /** * @return int<0, max>|string */ public function getCallLikePosition() { return $this->callLikePosition; } /** * @return int<0, max> */ public function getFunctionLikePosition() : int { return $this->functionLikePosition; } public function getNewParamName() : string { return $this->newParamName; } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 10
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
MethodCallRename.php
1.16 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
MethodCallRenameWithArrayKey.php
1.45 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
RenameAnnotation.php
753 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
RenameAnnotationByType.php
1.04 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
RenameAttribute.php
647 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
RenameClassAndConstFetch.php
1.41 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
RenameClassConstFetch.php
1.15 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
RenameFunctionLikeParamWithinCallLikeArg.php
1.71 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
RenameProperty.php
1.02 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
RenameStaticMethod.php
1.38 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).