@@ -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) |
@@ -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 | { |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | /** |
112 | 112 | * @param int $forum_id |
113 | 113 | * @param array $qr_hidden_fields |
114 | - * @return bool |
|
114 | + * @return boolean|null |
|
115 | 115 | */ |
116 | 116 | protected function set_smilies($forum_id, array &$qr_hidden_fields) |
117 | 117 | { |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | /** |
125 | 125 | * @param int $forum_id |
126 | 126 | * @param array $qr_hidden_fields |
127 | - * @return bool |
|
127 | + * @return boolean|null |
|
128 | 128 | */ |
129 | 129 | protected function set_bbcode($forum_id, array &$qr_hidden_fields) |
130 | 130 | { |
@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | /** |
138 | 138 | * @param bool $is_watching |
139 | 139 | * @param array $qr_hidden_fields |
140 | - * @return bool |
|
140 | + * @return boolean|null |
|
141 | 141 | */ |
142 | 142 | protected function set_notification($is_watching, array &$qr_hidden_fields) |
143 | 143 | { |
@@ -150,7 +150,7 @@ discard block |
||
150 | 150 | /** |
151 | 151 | * @param int $topic_status |
152 | 152 | * @param array $qr_hidden_fields |
153 | - * @return bool |
|
153 | + * @return boolean|null |
|
154 | 154 | */ |
155 | 155 | protected function set_topic_lock($topic_status, array &$qr_hidden_fields) |
156 | 156 | { |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | |
163 | 163 | /** |
164 | 164 | * @param array $qr_hidden_fields |
165 | - * @return bool |
|
165 | + * @return boolean|null |
|
166 | 166 | */ |
167 | 167 | protected function set_magic_urls(array &$qr_hidden_fields) |
168 | 168 | { |
@@ -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) |
@@ -260,7 +260,7 @@ |
||
260 | 260 | /** |
261 | 261 | * @param array $post_data |
262 | 262 | * @param array $topic_data |
263 | - * @param string $cp_class |
|
263 | + * @param string $cp_mode |
|
264 | 264 | * @return string |
265 | 265 | */ |
266 | 266 | protected function get_cp_param(array $post_data, array $topic_data, $cp_mode) |
@@ -229,7 +229,7 @@ |
||
229 | 229 | /** |
230 | 230 | * @param array $topic_data |
231 | 231 | * @param array $post_data |
232 | - * @return array |
|
232 | + * @return string |
|
233 | 233 | */ |
234 | 234 | protected function get_mini_post_url(array $topic_data, array $post_data) |
235 | 235 | { |