aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/controller/helper.php
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-06-15 12:38:00 +0200
committerTristan Darricau <github@nicofuma.fr>2014-06-15 19:14:10 +0200
commit358a10d8a9e244572568e89cdb87fd83f42759cf (patch)
treec81471893c59832e6288323a6a3f389a732f0b43 /phpBB/phpbb/controller/helper.php
parent8966e4a26970bb082fc02e8e4e57144567e95d31 (diff)
downloadforums-358a10d8a9e244572568e89cdb87fd83f42759cf.tar
forums-358a10d8a9e244572568e89cdb87fd83f42759cf.tar.gz
forums-358a10d8a9e244572568e89cdb87fd83f42759cf.tar.bz2
forums-358a10d8a9e244572568e89cdb87fd83f42759cf.tar.xz
forums-358a10d8a9e244572568e89cdb87fd83f42759cf.zip
[ticket/12715] Cleanup comments in \phpbb\controller\*
PHPBB3-12715
Diffstat (limited to 'phpBB/phpbb/controller/helper.php')
-rw-r--r--phpBB/phpbb/controller/helper.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/controller/helper.php b/phpBB/phpbb/controller/helper.php
index 7b232294f0..930bc42a98 100644
--- a/phpBB/phpbb/controller/helper.php
+++ b/phpBB/phpbb/controller/helper.php
@@ -101,7 +101,7 @@ class helper
* @param string $route Name of the route to travel
* @param array $params String or array of additional url parameters
* @param bool $is_amp Is url using &amp; (true) or & (false)
- * @param string $session_id Possibility to use a custom session id instead of the global one
+ * @param string|bool $session_id Possibility to use a custom session id instead of the global one
* @return string The URL already passed through append_sid()
*/
public function route($route, array $params = array(), $is_amp = true, $session_id = false)
@@ -139,8 +139,8 @@ class helper
* Output an error, effectively the same thing as trigger_error
*
* @param string $message The error message
- * @param string $code The error code (e.g. 404, 500, 503, etc.)
- * @return Response A Reponse instance
+ * @param int $code The error code (e.g. 404, 500, 503, etc.)
+ * @return Response A Response instance
*/
public function error($message, $code = 500)
{