mirror of https://github.com/rectorphp/rector.git
Updated Rector to commit 1daab3c53f4a09669d2d915f7e245e984ace908d
1daab3c53f
[DeadCode] Add Function_ support on RemoveUselessParamTagRector (#5331)
This commit is contained in:
parent
413475184c
commit
942be869a9
|
@ -5,6 +5,7 @@ namespace Rector\DeadCode\Rector\ClassMethod;
|
|||
|
||||
use PhpParser\Node;
|
||||
use PhpParser\Node\Stmt\ClassMethod;
|
||||
use PhpParser\Node\Stmt\Function_;
|
||||
use Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfo;
|
||||
use Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory;
|
||||
use Rector\Core\Rector\AbstractRector;
|
||||
|
@ -63,10 +64,10 @@ CODE_SAMPLE
|
|||
*/
|
||||
public function getNodeTypes() : array
|
||||
{
|
||||
return [ClassMethod::class];
|
||||
return [ClassMethod::class, Function_::class];
|
||||
}
|
||||
/**
|
||||
* @param ClassMethod $node
|
||||
* @param ClassMethod|Function_ $node
|
||||
*/
|
||||
public function refactor(Node $node) : ?Node
|
||||
{
|
||||
|
|
|
@ -19,12 +19,12 @@ final class VersionResolver
|
|||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = 'a92fade7d0fbfcee3fb3e4f0ff5620e281de8ce0';
|
||||
public const PACKAGE_VERSION = '1daab3c53f4a09669d2d915f7e245e984ace908d';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2023-12-06 04:26:37';
|
||||
public const RELEASE_DATE = '2023-12-06 17:46:31';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue