Skip to content

Commit

Permalink
Updated Rector to commit 1daab3c53f4a09669d2d915f7e245e984ace908d
Browse files Browse the repository at this point in the history
rectorphp/rector-src@1daab3c [DeadCode] Add Function_ support on RemoveUselessParamTagRector (#5331)
  • Loading branch information
TomasVotruba committed Dec 6, 2023
1 parent 4134751 commit 942be86
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

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;
Expand Down Expand Up @@ -63,10 +64,10 @@ public function foo(string $a, string $b)
*/
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
{
Expand Down
4 changes: 2 additions & 2 deletions src/Application/VersionResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 942be86

Please sign in to comment.