@@ -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 | { |
@@ -94,7 +94,7 @@ |
||
| 94 | 94 | * @param int $topic_id |
| 95 | 95 | * @param string $mode |
| 96 | 96 | * @param bool $save_draft |
| 97 | - * @return string|false |
|
| 97 | + * @return string|boolean |
|
| 98 | 98 | */ |
| 99 | 99 | public function init($forum_id, $topic_id, $mode, $save_draft) |
| 100 | 100 | { |
@@ -93,7 +93,7 @@ |
||
| 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) |
@@ -181,7 +181,7 @@ discard block |
||
| 181 | 181 | |
| 182 | 182 | /** |
| 183 | 183 | * @param array $pages |
| 184 | - * @param array $titles |
|
| 184 | + * @param string[] $titles |
|
| 185 | 185 | * @param array $data |
| 186 | 186 | * @return mixed |
| 187 | 187 | */ |
@@ -248,6 +248,7 @@ discard block |
||
| 248 | 248 | * When Previewing topic, we show all pages |
| 249 | 249 | * |
| 250 | 250 | * @param array $pages |
| 251 | + * @param integer $start |
|
| 251 | 252 | * @return mixed |
| 252 | 253 | */ |
| 253 | 254 | protected function get_page_content($start, $field_name, array $pages) |
@@ -106,7 +106,6 @@ |
||
| 106 | 106 | * |
| 107 | 107 | * @param string $type |
| 108 | 108 | * @param int $topic_id |
| 109 | - * @param int $page |
|
| 110 | 109 | * @return \Symfony\Component\HttpFoundation\Response A Symfony Response object |
| 111 | 110 | */ |
| 112 | 111 | public function show($type, $topic_id) |
@@ -244,7 +244,7 @@ discard block |
||
| 244 | 244 | /** |
| 245 | 245 | * @param array $topic_data |
| 246 | 246 | * @param array $post_data |
| 247 | - * @return array |
|
| 247 | + * @return string |
|
| 248 | 248 | */ |
| 249 | 249 | protected function get_mini_post_url(array $topic_data, array $post_data) |
| 250 | 250 | { |
@@ -324,7 +324,6 @@ discard block |
||
| 324 | 324 | } |
| 325 | 325 | |
| 326 | 326 | /** |
| 327 | - * @param array $row |
|
| 328 | 327 | * @return array |
| 329 | 328 | */ |
| 330 | 329 | protected function get_watch_status_data(array $topic_data) |
@@ -244,6 +244,7 @@ |
||
| 244 | 244 | |
| 245 | 245 | /** |
| 246 | 246 | * {@inheritdoc} |
| 247 | + * @param string $forum_id |
|
| 247 | 248 | */ |
| 248 | 249 | protected function get_filter_sql($filter_type, $filter_value, $forum_id) |
| 249 | 250 | { |