mirror of
https://github.com/rectorphp/rector.git
synced 2025-03-14 04:19:44 +01:00
fixup! add class-rename to MoveInterfacesToContractNamespaceDirectoryRector
This commit is contained in:
parent
bcb0a642d5
commit
5ba7e4567d
@ -96,11 +96,11 @@ PHP
|
||||
$this->printNodesWithFileDestination($nodesWithFileDestination);
|
||||
}
|
||||
|
||||
private function resolveNewClassLikeName(NodesWithFileDestinationValueObject $nodesWithFileDestination): string
|
||||
private function resolveNewClassLikeName(NodesWithFileDestinationValueObject $nodesWithFileDestinationValueObject): string
|
||||
{
|
||||
/** @var ClassLike $classLike */
|
||||
$classLike = $this->betterNodeFinder->findFirstInstanceOf(
|
||||
$nodesWithFileDestination->getNodes(),
|
||||
$nodesWithFileDestinationValueObject->getNodes(),
|
||||
ClassLike::class
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user