4
0
Fork 0

调整totree数据类型bug

master
vine_liutk 2022-10-14 11:45:10 +08:00
parent 9183e81cc3
commit 66dba4bf19
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ trait ModelTree
*
* @return array
*/
public function toTree(array $nodes = null)
public function toTree($nodes = null)
{
if ($nodes === null) {
$nodes = $this->allNodes();