@@ -157,7 +157,7 @@ class LuDocBusiness
$parameters = [];
foreach ($reflection->getParameters() as $param) {
- $p = [array("name" => $param)];
+ $p["name"] = $param->getName();
if (!is_null($docParser) && isset($docParser->all_params[$param->getName()])) {
$p = $docParser->all_params[$param->getName()];