mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-25 20:23:49 +01:00
merge
This commit is contained in:
parent
bdb3eff4cf
commit
7033c28d36
@ -74,7 +74,7 @@ abstract class AbstractRector extends NodeVisitorAbstract implements RectorInter
|
||||
}
|
||||
|
||||
/**
|
||||
* @return null|int|Node
|
||||
* @return int|Node
|
||||
*/
|
||||
public function leaveNode(Node $node)
|
||||
{
|
||||
|
@ -91,7 +91,7 @@ final class FluentReplaceRector extends AbstractRector
|
||||
}
|
||||
|
||||
if ($node instanceof MethodCall) {
|
||||
// metod call to prepend
|
||||
// method call to prepend
|
||||
/** @var Node $parentVarName */
|
||||
$parentVarName = $node->var->var;
|
||||
$parentVarName->setAttribute(Attribute::ORIGINAL_NODE, null);
|
||||
|
Loading…
x
Reference in New Issue
Block a user