@@ -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) |