@@ -232,8 +232,7 @@ |
||
232 | 232 | if (sizeof($post_ids)) |
233 | 233 | { |
234 | 234 | $sql_where[] = $this->db->sql_in_set('p.post_id', $post_ids); |
235 | - } |
|
236 | - else if (sizeof($this->store['topic'])) |
|
235 | + } else if (sizeof($this->store['topic'])) |
|
237 | 236 | { |
238 | 237 | $this->_limit_posts_by_topic($sql_where, $topic_first_or_last_post); |
239 | 238 | } |
@@ -40,8 +40,7 @@ |
||
40 | 40 | if ($this->can_track_by_lastread()) |
41 | 41 | { |
42 | 42 | $info = $this->build_tracking_info('get_topic_tracking', $forums, $topics); |
43 | - } |
|
44 | - else if ($this->can_track_anonymous()) |
|
43 | + } else if ($this->can_track_anonymous()) |
|
45 | 44 | { |
46 | 45 | $info = $this->build_tracking_info('get_complete_topic_tracking', $forums, $topics); |
47 | 46 | } |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | |
133 | 133 | /** |
134 | 134 | * @param bool $is_sub_route |
135 | - * @return array |
|
135 | + * @return boolean[] |
|
136 | 136 | */ |
137 | 137 | protected function get_display_modes($is_sub_route) |
138 | 138 | { |
@@ -158,7 +158,7 @@ discard block |
||
158 | 158 | |
159 | 159 | /** |
160 | 160 | * @param bool $edit_mode |
161 | - * @param array $modes |
|
161 | + * @param boolean[] $modes |
|
162 | 162 | * @return string |
163 | 163 | */ |
164 | 164 | protected function get_edit_mode_url(&$edit_mode, array &$modes) |
@@ -198,7 +198,6 @@ discard block |
||
198 | 198 | } |
199 | 199 | |
200 | 200 | /** |
201 | - * @param int $style_id |
|
202 | 201 | * @param bool $edit_mode |
203 | 202 | * @param array $route_info |
204 | 203 | */ |