Code Duplication    Length = 6-6 lines in 2 locations

src/NodeVisitor/NameStmtPrefixer.php 2 locations

@@ 113-118 (lines=6) @@
110
            }
111
        }
112
113
        if ($parentNode instanceof ConstFetch
114
            && 1 === count($resolvedName->parts)
115
            && null === $resolvedValue->getUse()
116
        ) {
117
            return $resolvedName;
118
        }
119
120
        if ($parentNode instanceof FuncCall
121
            && 1 === count($resolvedName->parts)
@@ 120-125 (lines=6) @@
117
            return $resolvedName;
118
        }
119
120
        if ($parentNode instanceof FuncCall
121
            && 1 === count($resolvedName->parts)
122
            && null === $resolvedValue->getUse()
123
        ) {
124
            return $resolvedName;
125
        }
126
127
        return FullyQualified::concat($this->prefix, $resolvedName->toString(), $resolvedName->getAttributes());
128
    }