src/Builder/NamespaceIndexBuilder.php 1 location
|
@@ 153-158 (lines=6) @@
|
| 150 |
|
} |
| 151 |
|
$docBlock = $function->getDocBlock(); |
| 152 |
|
$params = []; |
| 153 |
|
if ($docBlock !== null) { |
| 154 |
|
/** @var Param $param */ |
| 155 |
|
foreach ($docBlock->getTagsByName('param') as $param) { |
| 156 |
|
$params[$param->getVariableName()] = $param; |
| 157 |
|
} |
| 158 |
|
} |
| 159 |
|
$args = ''; |
| 160 |
|
/** @var Argument $argument */ |
| 161 |
|
foreach ($function->getArguments() as $argument) { |
src/Builder/PhpDomainBuilder.php 1 location
|
@@ 229-235 (lines=7) @@
|
| 226 |
|
$docBlock = $method->getDocBlock(); |
| 227 |
|
$params = []; |
| 228 |
|
$deprecated = []; |
| 229 |
|
if ($docBlock !== null) { |
| 230 |
|
/** @var Param $param */ |
| 231 |
|
foreach ($docBlock->getTagsByName('param') as $param) { |
| 232 |
|
$params[$param->getVariableName()] = $param; |
| 233 |
|
} |
| 234 |
|
$deprecated = $docBlock->getTagsByName('deprecated'); |
| 235 |
|
} |
| 236 |
|
$args = ''; |
| 237 |
|
/** @var Argument $argument */ |
| 238 |
|
foreach ($method->getArguments() as $argument) { |