Browse Source

fixed parameter name

tags/0.1.0
Robin Thoni 9 years ago
parent
commit
984ff837cf
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/Doc/Business/LuDocBusiness.php

+ 1
- 1
src/Doc/Business/LuDocBusiness.php View File

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

Loading…
Cancel
Save