Code Duplication    Length = 7-7 lines in 2 locations

src/Parser/Internal/CommandDocBlockParser2.php 1 location

@@ 41-47 (lines=7) @@
38
    /**
39
     * Store the data from a @arg annotation in our argument descriptions.
40
     */
41
    protected function processArgumentTag($tag)
42
    {
43
        if (!$this->pregMatchNameAndDescription((string)$tag->getDescription(), $match)) {
44
            return;
45
        }
46
        $this->addOptionOrArgumentTag($tag, $this->commandInfo->arguments(), $match);
47
    }
48
49
    /**
50
     * Store the data from a @param annotation in our argument descriptions.

src/Parser/Internal/AbstractCommandDocBlockParser.php 1 location

@@ 108-114 (lines=7) @@
105
    /**
106
     * Store the data from a @arg annotation in our argument descriptions.
107
     */
108
    protected function processArgumentTag($tag)
109
    {
110
        if (!$this->pregMatchNameAndDescription((string)$tag->getDescription(), $match)) {
111
            return;
112
        }
113
        $this->addOptionOrArgumentTag($tag, $this->commandInfo->arguments(), $match);
114
    }
115
116
    /**
117
     * Store the data from an @option annotation in our option descriptions.