Skip to content

Commit 944c878

Browse files
committed
Doc fixes
1 parent 7e4dd2d commit 944c878

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

controller/post_controller.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

event/listener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)