@@ -147,7 +147,7 @@ |
||
| 147 | 147 | } |
| 148 | 148 | |
| 149 | 149 | [$is_current_item, $is_parent] = $this->get_current_item($row); |
| 150 | - $depth = $this->get_parental_depth($row) + 1; |
|
| 150 | + $depth = $this->get_parental_depth($row) + 1; |
|
| 151 | 151 | $leaf = $this->get_leaf_node($row, $is_current_item, $is_parent); |
| 152 | 152 | |
| 153 | 153 | $this->parental_depth[$row[$this->pk]] = $depth; |
@@ -168,7 +168,7 @@ |
||
| 168 | 168 | */ |
| 169 | 169 | public function display_list(array $data) |
| 170 | 170 | { |
| 171 | - $data = array_map(function($row) { |
|
| 171 | + $data = array_map(function ($row) { |
|
| 172 | 172 | $row['num_kids'] = $this->count_descendants($row); |
| 173 | 173 | return array_change_key_case($row, CASE_UPPER); |
| 174 | 174 | }, $data); |