vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php 1 location
|
@@ 291-295 (lines=5) @@
|
| 288 |
|
|
| 289 |
|
// We want to use ... for all variable length arguments, so added |
| 290 |
|
// this prefix to the variable name so comparisons are easier. |
| 291 |
|
foreach ($realParams as $pos => $param) { |
| 292 |
|
if ($param['variable_length'] === true) { |
| 293 |
|
$realParams[$pos]['name'] = '...'.$realParams[$pos]['name']; |
| 294 |
|
} |
| 295 |
|
} |
| 296 |
|
|
| 297 |
|
foreach ($params as $pos => $param) { |
| 298 |
|
if ($param['var'] === '') { |
vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php 1 location
|
@@ 353-357 (lines=5) @@
|
| 350 |
|
|
| 351 |
|
// We want to use ... for all variable length arguments, so added |
| 352 |
|
// this prefix to the variable name so comparisons are easier. |
| 353 |
|
foreach ($realParams as $pos => $param) { |
| 354 |
|
if ($param['variable_length'] === true) { |
| 355 |
|
$realParams[$pos]['name'] = '...'.$realParams[$pos]['name']; |
| 356 |
|
} |
| 357 |
|
} |
| 358 |
|
|
| 359 |
|
foreach ($params as $pos => $param) { |
| 360 |
|
// If the type is empty, the whole line is empty. |