1.0.0.rc1 update

This commit is contained in:
talonos
2016-02-18 19:54:59 +00:00
parent 6b9a7cf704
commit f2774388d9
2 changed files with 66 additions and 99 deletions

View File

@@ -1,4 +1,5 @@
<?php
/**
*
* @package phpBB Extension - mChat
@@ -34,7 +35,7 @@ class main_controller
/**
* Controller for mChat
*
* @param $page The page to render, one of custom|archive|rules|whois
* @param string $page The page to render, one of custom|archive|rules|whois
* @return \Symfony\Component\HttpFoundation\Response A Symfony Response object
*/
public function page($page)
@@ -42,12 +43,11 @@ class main_controller
return call_user_func(array($this->mchat, 'page_' . $page));
}
/**
* Controller for mChat actions called with Ajax requests
*
* @param $action The action to perform, one of add|edit|del|clean|refresh|whois
* @return A Symfony JsonResponse object
* @param string $action The action to perform, one of add|edit|del|refresh|whois
* @return \Symfony\Component\HttpFoundation\JsonResponse A Symfony JsonResponse object
*/
public function action($action)
{