@@ -200,7 +200,7 @@ |
||
200 | 200 | list($controller_service, $controller_method) = explode(':', $controller); |
201 | 201 | $controller_params = $symfony_request->attributes->get('_route_params'); |
202 | 202 | $controller_object = $this->phpbb_container->get($controller_service); |
203 | - $controller_class = get_class($controller_object); |
|
203 | + $controller_class = get_class($controller_object); |
|
204 | 204 | |
205 | 205 | $r = new \ReflectionMethod($controller_class, $controller_method); |
206 | 206 | $class_params = $r->getParameters(); |
@@ -176,10 +176,10 @@ |
||
176 | 176 | for ($i = 0, $size = sizeof($data); $i < $size; $i++) |
177 | 177 | { |
178 | 178 | $row = $data[$i]; |
179 | - $this_depth = $parental_depth[$row[$this->column_parent_id]] + 1; |
|
180 | - $repeat = (int) abs($prev_depth - $this_depth); |
|
179 | + $this_depth = $parental_depth[$row[$this->column_parent_id]] + 1; |
|
180 | + $repeat = (int) abs($prev_depth - $this_depth); |
|
181 | 181 | |
182 | - $tpl_data = array( |
|
182 | + $tpl_data = array( |
|
183 | 183 | 'PREV_DEPTH' => $prev_depth, |
184 | 184 | 'THIS_DEPTH' => $this_depth, |
185 | 185 | 'NUM_KIDS' => $this->count_descendants($row), |
@@ -162,7 +162,7 @@ |
||
162 | 162 | } |
163 | 163 | |
164 | 164 | [$is_current_item, $is_parent] = $this->get_current_item($row); |
165 | - $this_depth = $this->get_parental_depth($row) + 1; |
|
165 | + $this_depth = $this->get_parental_depth($row) + 1; |
|
166 | 166 | $leaf = $this->get_leaf_node($row, $is_current_item, $is_parent); |
167 | 167 | |
168 | 168 | $this->parental_depth[$row[$this->pk]] = $this_depth; |