Code Duplication    Length = 3-3 lines in 2 locations

src/Console/Command/AddPrefixCommand.php 2 locations

@@ 342-344 (lines=3) @@
339
340
    private function makeAbsolutePath(string $path): string
341
    {
342
        if (false === $this->fileSystem->isAbsolutePath($path)) {
343
            $path = getcwd().DIRECTORY_SEPARATOR.$path;
344
        }
345
346
        return $path;
347
    }
@@ 199-201 (lines=3) @@
196
    {
197
        $outputDir = $input->getOption(self::OUTPUT_DIR_OPT);
198
199
        if (false === $this->fileSystem->isAbsolutePath($outputDir)) {
200
            $outputDir = getcwd().DIRECTORY_SEPARATOR.$outputDir;
201
        }
202
203
        $input->setOption(self::OUTPUT_DIR_OPT, $outputDir);
204