Add extra parameter
This commit is contained in:
parent
e43d32615f
commit
6c8a43debd
@ -217,6 +217,10 @@ class AnnotationsBuilder
|
||||
}
|
||||
$paramList .= '$'.$param->getName().', ';
|
||||
}
|
||||
if (!$hasVariadic) {
|
||||
$paramList .= '$extra, ';
|
||||
$doc .= 'array $extra = []';
|
||||
}
|
||||
$doc = \rtrim($doc, ', ');
|
||||
$paramList = \rtrim($paramList, ', ');
|
||||
$doc .= ")";
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user