Code Duplication    Length = 6-6 lines in 2 locations

src/RunOpenCode/AbstractBuilder/Command/GenerateBuilderCommand.php 2 locations

@@ 92-97 (lines=6) @@
89
    {
90
        $class = $this->input->getArgument('class');
91
92
        if (null === $class) {
93
            $helper = $this->getHelper('question');
94
            $question = new Question('Enter full qualified class name, or path to file with class, for which you want to generate builder class: ', null);
95
96
            $class = $helper->ask($this->input, $this->output, $question);
97
        }
98
99
        if (!class_exists($class, true)) {
100
            $class = Tokenizer::findClass($class);
@@ 120-125 (lines=6) @@
117
    {
118
        $class = $this->input->getArgument('builder');
119
120
        if (null === $class) {
121
            $helper = $this->getHelper('question');
122
            $question = new Question(sprintf('Enter full qualified class name of your builder class (default: "%s"): ', $suggest), $suggest);
123
124
            $class = $helper->ask($this->input, $this->output, $question);
125
        }
126
127
        if (file_exists($class) && !class_exists($class, true)) {
128
            $class = Tokenizer::findClass($class);