return解析修改

This commit is contained in:
IT小强xqitw.cn 2018-06-06 13:38:58 +08:00
parent 0416c239b8
commit 603bd637bf

View File

@ -39,7 +39,8 @@ class ParseLine
'param_type' => $line[1],
'param_name' => $line[2],
'param_title' => $line[3],
'param_default' => isset($line[4]) ? $line[4] : '',
'param_default' => $line[4],
'param_require' => $line[5],
];
}
@ -65,7 +66,8 @@ class ParseLine
return [
'type' => $line[0],
'return_type' => $line[1],
'content' => isset($line[2]) ? $line[2] : '',
'return_name' => $line[2],
'return_title' => isset($line[3]) ? $line[3] : '',
];
}
}