Code Duplication    Length = 8-8 lines in 2 locations

src/Parser/Internal/CommandDocBlockParser2.php 1 location

@@ 159-166 (lines=8) @@
156
    /**
157
     * Store the data from a @usage annotation in our example usage list.
158
     */
159
    protected function processUsageTag($tag)
160
    {
161
        $lines = explode("\n", $tag->getContent());
162
        $usage = array_shift($lines);
163
        $description = static::removeLineBreaks(implode("\n", $lines));
164
165
        $this->commandInfo->setExampleUsage($usage, $description);
166
    }
167
}
168

src/Parser/Internal/CommandDocBlockParser3.php 1 location

@@ 173-180 (lines=8) @@
170
    /**
171
     * Store the data from a @usage annotation in our example usage list.
172
     */
173
    protected function processUsageTag($tag)
174
    {
175
        $lines = explode("\n", (string)$tag);
176
        $usage = array_shift($lines);
177
        $description = static::removeLineBreaks(implode("\n", $lines));
178
179
        $this->commandInfo->setExampleUsage($usage, $description);
180
    }
181
}
182