@@ -78,7 +78,7 @@ |
||
78 | 78 | { |
79 | 79 | static::treeBoot(); |
80 | 80 | |
81 | - static::deleting(function ($model) { |
|
81 | + static::deleting(function($model) { |
|
82 | 82 | $model->roles()->detach(); |
83 | 83 | }); |
84 | 84 | } |
@@ -140,7 +140,7 @@ |
||
140 | 140 | * |
141 | 141 | * @return $this |
142 | 142 | */ |
143 | - public function loads($fields = [], $sourceUrls = [] , $idField = 'id', $textField = 'text') |
|
143 | + public function loads($fields = [], $sourceUrls = [], $idField = 'id', $textField = 'text') |
|
144 | 144 | { |
145 | 145 | $fieldsStr = join(".", $fields); |
146 | 146 | $urlsStr = join("^", $sourceUrls); |