Code Duplication    Length = 3-3 lines in 2 locations

src/Console/Command/AddPrefixCommand.php 2 locations

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