src/Parser/Internal/AbstractCommandDocBlockParser.php 1 location
|
@@ 103-109 (lines=7) @@
|
100 |
|
/** |
101 |
|
* Store the data from a @arg annotation in our argument descriptions. |
102 |
|
*/ |
103 |
|
protected function processArgumentTag($tag) |
104 |
|
{ |
105 |
|
if (!$this->pregMatchNameAndDescription((string)$tag->getDescription(), $match)) { |
106 |
|
return; |
107 |
|
} |
108 |
|
$this->addOptionOrArgumentTag($tag, $this->commandInfo->arguments(), $match); |
109 |
|
} |
110 |
|
|
111 |
|
/** |
112 |
|
* Store the data from an @option annotation in our option descriptions. |
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. |