调整totree数据类型bug
parent
9183e81cc3
commit
66dba4bf19
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue