@@ -93,7 +93,6 @@ |
||
| 93 | 93 | * @param string $type |
| 94 | 94 | * @param string $slug |
| 95 | 95 | * @param int $topic_id |
| 96 | - * @param int $page |
|
| 97 | 96 | * @return \Symfony\Component\HttpFoundation\Response A Symfony Response object |
| 98 | 97 | */ |
| 99 | 98 | public function show($type, $slug, $topic_id) |
@@ -155,7 +155,7 @@ |
||
| 155 | 155 | } |
| 156 | 156 | |
| 157 | 157 | /** |
| 158 | - * @param $action |
|
| 158 | + * @param string $action |
|
| 159 | 159 | * @param array $topic_ids |
| 160 | 160 | */ |
| 161 | 161 | protected function change_topic_type($action, array $topic_ids) |
@@ -88,7 +88,7 @@ |
||
| 88 | 88 | * @param int $forum_id |
| 89 | 89 | * @param string $mode |
| 90 | 90 | * @param bool $save_draft |
| 91 | - * @return string|false |
|
| 91 | + * @return string|boolean |
|
| 92 | 92 | */ |
| 93 | 93 | public function init($forum_id, $mode, $save_draft) |
| 94 | 94 | { |
@@ -64,7 +64,6 @@ discard block |
||
| 64 | 64 | * @param \phpbb\user $user User object |
| 65 | 65 | * @param \blitze\content\services\form\form $form Form object |
| 66 | 66 | * @param \blitze\sitemaker\services\forum\data $forum Forum Data object |
| 67 | - * @param \blitze\content\services\topic $topic Content topic object |
|
| 68 | 67 | * @param string $root_path Path to the phpbb includes directory. |
| 69 | 68 | * @param string $php_ext php file extension |
| 70 | 69 | */ |
@@ -217,6 +216,11 @@ discard block |
||
| 217 | 216 | $this->template->assign_var('POST_FORM', $this->form->get_form()); |
| 218 | 217 | } |
| 219 | 218 | |
| 219 | + /** |
|
| 220 | + * @param integer $topic_id |
|
| 221 | + * @param integer $total_comments |
|
| 222 | + * @param string $base_url |
|
| 223 | + */ |
|
| 220 | 224 | protected function build_pagination(&$start, $forum_id, $topic_id, $post_id, $total_comments, $action, $base_url) |
| 221 | 225 | { |
| 222 | 226 | if ($post_id && !$action) |
@@ -75,10 +75,8 @@ discard block |
||
| 75 | 75 | /** |
| 76 | 76 | * Display content field |
| 77 | 77 | * |
| 78 | - * @param string $field_value |
|
| 79 | 78 | * @param string $view_mode |
| 80 | 79 | * @param array $topic_data |
| 81 | - * @param array $field_data |
|
| 82 | 80 | * @return mixed |
| 83 | 81 | */ |
| 84 | 82 | public function display_field($value, $view_mode = 'detail', array $topic_data = array(), array $field = array()) |
@@ -182,7 +180,7 @@ discard block |
||
| 182 | 180 | * @param string $value |
| 183 | 181 | * @param string $topic_url |
| 184 | 182 | * @param string $view_mode |
| 185 | - * @return void |
|
| 183 | + * @return string |
|
| 186 | 184 | */ |
| 187 | 185 | protected function generate_field_pages($field_name, $value, $topic_url, $view_mode) |
| 188 | 186 | { |
@@ -212,8 +210,8 @@ discard block |
||
| 212 | 210 | /** |
| 213 | 211 | * Generate pagination for topic subpages |
| 214 | 212 | * |
| 215 | - * @param array $pages |
|
| 216 | - * @param array $page_titles |
|
| 213 | + * @param string[] $pages |
|
| 214 | + * @param string[] $page_titles |
|
| 217 | 215 | * @param int $start |
| 218 | 216 | * @param string $topic_url |
| 219 | 217 | * @param string $view_mode |
@@ -235,6 +233,7 @@ discard block |
||
| 235 | 233 | * |
| 236 | 234 | * @param int $start |
| 237 | 235 | * @param $page_titles |
| 236 | + * @param string $topic_url |
|
| 238 | 237 | * @return void |
| 239 | 238 | */ |
| 240 | 239 | protected function generate_toc($start, $page_titles, $topic_url) |