@@ -114,7 +114,7 @@ |
||
114 | 114 | * @param array $blocks |
115 | 115 | * @param array $ex_positions |
116 | 116 | * @param array $users_groups |
117 | - * @param array $position_counter |
|
117 | + * @param integer $position_counter |
|
118 | 118 | * @param array $display_modes |
119 | 119 | * @param bool $edit_mode |
120 | 120 | */ |
@@ -176,6 +176,10 @@ discard block |
||
176 | 176 | return ($row['item_id'] === $this->current_item['item_id']) ? true : false; |
177 | 177 | } |
178 | 178 | |
179 | + /** |
|
180 | + * @param integer $depth |
|
181 | + * @param boolean $is_current_item |
|
182 | + */ |
|
179 | 183 | protected function set_parental_depth($row, $depth, $is_current_item) |
180 | 184 | { |
181 | 185 | if ($is_current_item || $this->expanded || !$row['item_url'] || ($row['left_id'] < $this->current_item['left_id'] && $row['right_id'] > $this->current_item['right_id'])) |
@@ -184,6 +188,9 @@ discard block |
||
184 | 188 | } |
185 | 189 | } |
186 | 190 | |
191 | + /** |
|
192 | + * @param string $handle |
|
193 | + */ |
|
187 | 194 | protected function close_open_tags(\phpbb\template\twig\twig &$template, $handle, $repeat) |
188 | 195 | { |
189 | 196 | for ($i = 0; $i < $repeat; $i++) |