1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/12715] Cleanup comments in \phpbb\controller\*

PHPBB3-12715
This commit is contained in:
Tristan Darricau
2014-06-15 12:38:00 +02:00
parent 8966e4a269
commit 358a10d8a9
3 changed files with 9 additions and 7 deletions

View File

@@ -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 & (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)
{