Code Duplication    Length = 8-8 lines in 2 locations

src/Parser/Internal/AbstractCommandDocBlockParser.php 2 locations

@@ 155-162 (lines=8) @@
152
    /**
153
     * Store the data from a @usage annotation in our example usage list.
154
     */
155
    protected function processUsageTag($tag)
156
    {
157
        $lines = explode("\n", $this->getTagContents($tag));
158
        $usage = array_shift($lines);
159
        $description = static::removeLineBreaks(implode("\n", $lines));
160
161
        $this->commandInfo->setExampleUsage($usage, $description);
162
    }
163
164
    /**
165
     * Store the data from a @@topic annotation in our topics list.
@@ 167-174 (lines=8) @@
164
    /**
165
     * Store the data from a @@topic annotation in our topics list.
166
     */
167
    protected function processTopicTag($tag)
168
    {
169
        $lines = explode("\n", $this->getTagContents($tag));
170
        $topic = array_shift($lines);
171
        $description = static::removeLineBreaks(implode("\n", $lines));
172
173
        $this->commandInfo->setTopic($topic, $description);
174
    }
175
176
    /**
177
     * Process the comma-separated list of aliases