@@ -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) |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | * @param \phpbb\request\request_interface $request Request object |
| 30 | 30 | * @param \phpbb\template\template $template Template object |
| 31 | 31 | * @param \blitze\content\services\form\fields_factory $fields_factory Fields factory object |
| 32 | - * @param string $admin_path Admin path |
|
| 32 | + * @param \blitze\content\services\form\fields_factory $admin_path Admin path |
|
| 33 | 33 | */ |
| 34 | 34 | public function __construct(\phpbb\request\request_interface $request, \phpbb\template\template $template, \blitze\content\services\form\fields_factory $fields_factory, $admin_path) |
| 35 | 35 | { |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | } |
| 94 | 94 | |
| 95 | 95 | /** |
| 96 | - * @param string $values |
|
| 96 | + * @param string $value |
|
| 97 | 97 | * @return array |
| 98 | 98 | */ |
| 99 | 99 | protected function get_range($value) |
@@ -122,7 +122,6 @@ discard block |
||
| 122 | 122 | } |
| 123 | 123 | |
| 124 | 124 | /** |
| 125 | - * @param array $data |
|
| 126 | 125 | * @return array |
| 127 | 126 | */ |
| 128 | 127 | protected function set_prepost(&$item, $key, array $props) |
@@ -96,8 +96,6 @@ discard block |
||
| 96 | 96 | /** |
| 97 | 97 | * Display content field |
| 98 | 98 | * |
| 99 | - * @param string $field_value |
|
| 100 | - * @param array $field_data |
|
| 101 | 99 | * @param string $view_mode |
| 102 | 100 | * @param array $topic_data |
| 103 | 101 | * @return mixed |
@@ -172,7 +170,7 @@ discard block |
||
| 172 | 170 | * @param string $value |
| 173 | 171 | * @param string $topic_url |
| 174 | 172 | * @param string $view_mode |
| 175 | - * @return void |
|
| 173 | + * @return string |
|
| 176 | 174 | */ |
| 177 | 175 | protected function generate_field_pages($field_name, $value, $topic_url, $view_mode) |
| 178 | 176 | { |
@@ -202,8 +200,8 @@ discard block |
||
| 202 | 200 | /** |
| 203 | 201 | * Generate pagination for topic subpages |
| 204 | 202 | * |
| 205 | - * @param array $pages |
|
| 206 | - * @param array $page_titles |
|
| 203 | + * @param string[] $pages |
|
| 204 | + * @param string[] $page_titles |
|
| 207 | 205 | * @param int $start |
| 208 | 206 | * @param string $topic_url |
| 209 | 207 | * @param string $view_mode |
@@ -225,6 +223,7 @@ discard block |
||
| 225 | 223 | * |
| 226 | 224 | * @param int $start |
| 227 | 225 | * @param $page_titles |
| 226 | + * @param string $topic_url |
|
| 228 | 227 | * @return void |
| 229 | 228 | */ |
| 230 | 229 | protected function generate_toc($start, $page_titles, $topic_url) |