Code Duplication    Length = 3-3 lines in 2 locations

src/Console/Command/AddPrefixCommand.php 2 locations

@@ 205-207 (lines=3) @@
202
    {
203
        $outputDir = $input->getOption(self::OUTPUT_DIR_OPT);
204
205
        if (false === $this->fileSystem->isAbsolutePath($outputDir)) {
206
            $outputDir = getcwd().DIRECTORY_SEPARATOR.$outputDir;
207
        }
208
209
        $input->setOption(self::OUTPUT_DIR_OPT, $outputDir);
210
@@ 335-337 (lines=3) @@
332
333
    private function makeAbsolutePath(string $path): string
334
    {
335
        if (false === $this->fileSystem->isAbsolutePath($path)) {
336
            $path = getcwd().DIRECTORY_SEPARATOR.$path;
337
        }
338
339
        return $path;
340
    }