nodeFactory = $nodeFactory; } public function createParentStaticCall() : \PhpParser\Node\Stmt\Expression { $parentSetupStaticCall = $this->nodeFactory->createStaticCall('parent', \Rector\Core\ValueObject\MethodName::SET_UP); return new \PhpParser\Node\Stmt\Expression($parentSetupStaticCall); } }