Update the PHPDocs to modify the invalid types of parameters

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3272 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2016-12-08 15:33:26 +00:00
parent 1ddc03dcbb
commit 3a004fbdc0
7 changed files with 61 additions and 60 deletions

View File

@@ -310,7 +310,7 @@ class route
* echo "Hello, $name";
* });
* @param string $route Route to check with the URL
* @param function $function Function to be executed if the route match
* @param callable $function Function to be executed if the route match
* @return Exit of the PHP after displaying the page if match, or return the
* route object to chain it whith the next test
*/
@@ -335,7 +335,7 @@ class route
* echo "Hello, $name";
* });
* @param string $route Route to check with the URL
* @param function $function Function to be executed if the route match
* @param callable $function Function to be executed if the route match
* @return Exit of the PHP after displaying the page if match, or return the
* route object to chain it whith the next test
*/
@@ -360,7 +360,7 @@ class route
* echo "Hello, $name";
* });
* @param string $route Route to check with the URL
* @param function $function Function to be executed if the route match
* @param callable $function Function to be executed if the route match
* @return Exit of the PHP after displaying the page if match, or return the
* route object to chain it whith the next test
*/
@@ -385,7 +385,7 @@ class route
* echo "Hello, $name";
* });
* @param string $route Route to check with the URL
* @param function $function Function to be executed if the route match
* @param callable $function Function to be executed if the route match
* @return Exit of the PHP after displaying the page if match, or return the
* route object to chain it whith the next test
*/
@@ -412,7 +412,7 @@ class route
* });
* @param string $methods The allowed methods, separated by commas (,)
* @param string $route Route to check with the URL
* @param function $function Function to be executed if the route match
* @param callable $function Function to be executed if the route match
* @return Exit of the PHP after displaying the page if match, or return the
* route object to chain it whith the next test
*/
@@ -428,7 +428,7 @@ class route
/** Do the mapping between the url and the route : call the function if
* thereis a match
* @param string $route Route to check with the URL
* @param function $function Function to be executed if the route match
* @param callable $function Function to be executed if the route match
* @return Exit of the PHP after displaying the page if match, or return the
* route object to chain it whith the next test
*/
@@ -521,7 +521,7 @@ class route
}
/** Print an error page. If a custom page exists, use it
* @param $e Exception to print
* @param object $e Exception to print
* @return bool true after the error is displayed
*/
public function error ($e)