return解析修改
This commit is contained in:
parent
0416c239b8
commit
603bd637bf
|
@ -39,7 +39,8 @@ class ParseLine
|
||||||
'param_type' => $line[1],
|
'param_type' => $line[1],
|
||||||
'param_name' => $line[2],
|
'param_name' => $line[2],
|
||||||
'param_title' => $line[3],
|
'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 [
|
return [
|
||||||
'type' => $line[0],
|
'type' => $line[0],
|
||||||
'return_type' => $line[1],
|
'return_type' => $line[1],
|
||||||
'content' => isset($line[2]) ? $line[2] : '',
|
'return_name' => $line[2],
|
||||||
|
'return_title' => isset($line[3]) ? $line[3] : '',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user