Code Duplication    Length = 6-6 lines in 2 locations

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

@@ 102-107 (lines=6) @@
99
    {
100
        $class = $this->input->getArgument('class');
101
102
        if (null === $class) {
103
            $helper = $this->getHelper('question');
104
            $question = new Question('Enter full qualified class name, or path to file with class, for which you want to generate builder class: ', null);
105
106
            $class = $helper->ask($this->input, $this->output, $question);
107
        }
108
109
        if (!class_exists($class, true)) {
110
            $class = Tokenizer::findClass($class);
@@ 133-138 (lines=6) @@
130
    {
131
        $class = $this->input->getArgument('builder');
132
133
        if (null === $class) {
134
            $helper = $this->getHelper('question');
135
            $question = new Question(sprintf('Enter full qualified class name of your builder class (default: "%s"): ', $suggest), $suggest);
136
137
            $class = $helper->ask($this->input, $this->output, $question);
138
        }
139
140
        if (file_exists($class) && !class_exists($class, true)) {
141
            $class = Tokenizer::findClass($class);