Code Duplication    Length = 6-6 lines in 2 locations

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

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