Code Duplication    Length = 3-3 lines in 2 locations

src/Console/Command/AddPrefixCommand.php 2 locations

@@ 196-198 (lines=3) @@
193
    {
194
        $outputDir = $input->getOption(self::OUTPUT_DIR_OPT);
195
196
        if (false === $this->fileSystem->isAbsolutePath($outputDir)) {
197
            $outputDir = getcwd().DIRECTORY_SEPARATOR.$outputDir;
198
        }
199
200
        $input->setOption(self::OUTPUT_DIR_OPT, $outputDir);
201
@@ 326-328 (lines=3) @@
323
324
    private function makeAbsolutePath(string $path): string
325
    {
326
        if (false === $this->fileSystem->isAbsolutePath($path)) {
327
            $path = getcwd().DIRECTORY_SEPARATOR.$path;
328
        }
329
330
        return $path;
331
    }