Code Duplication    Length = 3-3 lines in 2 locations

src/Console/Command/AddPrefixCommand.php 2 locations

@@ 208-210 (lines=3) @@
205
    {
206
        $outputDir = $input->getOption(self::OUTPUT_DIR_OPT);
207
208
        if (false === $this->fileSystem->isAbsolutePath($outputDir)) {
209
            $outputDir = getcwd().DIRECTORY_SEPARATOR.$outputDir;
210
        }
211
212
        $input->setOption(self::OUTPUT_DIR_OPT, $outputDir);
213
@@ 310-312 (lines=3) @@
307
308
    private function makeAbsolutePath(string $path): string
309
    {
310
        if (false === $this->fileSystem->isAbsolutePath($path)) {
311
            $path = getcwd().DIRECTORY_SEPARATOR.$path;
312
        }
313
314
        return $path;
315
    }