File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class post_controller extends base
2020 * Redirects to the idea forum's posting page.
2121 *
2222 * @throws http_exception
23- * @return \Symfony\Component\HttpFoundation\Response A Symfony Response object
23+ * @return \Symfony\Component\HttpFoundation\RedirectResponse A Symfony Response object
2424 */
2525 public function post ()
2626 {
@@ -34,10 +34,10 @@ public function post()
3434 throw new http_exception (404 , 'LOGGED_OUT ' );
3535 }
3636
37- $ params = array (
37+ $ params = [
3838 'mode ' => 'post ' ,
3939 'f ' => $ this ->config ['ideas_forum_id ' ],
40- ) ;
40+ ] ;
4141
4242 $ url = append_sid (generate_board_url () . "/posting. {$ this ->php_ext }" , $ params , false );
4343
Original file line number Diff line number Diff line change @@ -397,7 +397,7 @@ public function edit_idea_title($event)
397397 *
398398 * @param string $mode Mode should be post
399399 * @param int $forum_id The forum posting is being made in
400- * @param bool $topic_flag Is there a topic_id?
400+ * @param bool $topic_flag Flag for the state of the topic_id
401401 *
402402 * @return bool True if mode is post, forum is Ideas forum, and a topic id is
403403 * expected to exist yet, false if any of these tests failed.
You can’t perform that action at this time.
0 commit comments