mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-19 14:27:14 +01:00
Updated Rector to commit 9e4616bb11d94ff388eec5c4fdc25174edec04fa
9e4616bb11
[Comments] Remove unused copy Node object on CommentRemover (#5103)
This commit is contained in:
parent
8dfd47b5cc
commit
a518e8f34f
@ -28,8 +28,7 @@ final class CommentRemover
|
||||
if ($node === null) {
|
||||
return null;
|
||||
}
|
||||
$copiedNodes = $node;
|
||||
$nodes = \is_array($copiedNodes) ? $copiedNodes : [$copiedNodes];
|
||||
$nodes = \is_array($node) ? $node : [$node];
|
||||
return $this->commentRemovingNodeTraverser->traverse($nodes);
|
||||
}
|
||||
}
|
||||
|
@ -19,12 +19,12 @@ final class VersionResolver
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '418821236de4fe723114d95846a22741d14fc7f8';
|
||||
public const PACKAGE_VERSION = '9e4616bb11d94ff388eec5c4fdc25174edec04fa';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2023-10-01 13:35:11';
|
||||
public const RELEASE_DATE = '2023-10-02 17:06:39';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user