diff --git a/src/Outputhtml.php b/src/Outputhtml.php index 3db0795..84c0855 100644 --- a/src/Outputhtml.php +++ b/src/Outputhtml.php @@ -24,7 +24,7 @@ class Outputhtml extends Output * @param array|null $variable PHP variables send to the view and to layout * (can be processed by foreach, if...) * @param string|null $module The module name to use if needed - * @return Exit from PHP at the end of HTML display + * @return mixed Exit from PHP at the end of HTML display */ public function out ($data, $title = FALSE, $viewClass = FALSE, $viewMethod = FALSE, diff --git a/src/Outputrest.php b/src/Outputrest.php index a88d764..dab8967 100644 --- a/src/Outputrest.php +++ b/src/Outputrest.php @@ -25,7 +25,7 @@ class Outputrest extends Output * @param array|null $variable PHP variables send to the view and to layout * (can be processed by foreach, if...) * @param string|null $module The module name to use if needed - * @return Exit from PHP at the end of HTML display + * @return mixed Exit from PHP at the end of HTML display */ public function out ($data, $title = FALSE, $viewClass = FALSE, $viewMethod = FALSE, diff --git a/src/Route.php b/src/Route.php index 397c0c1..8b9250f 100644 --- a/src/Route.php +++ b/src/Route.php @@ -254,7 +254,7 @@ class Route * @param string $destURL Do a redirection of the HTTP page * @param string|null $module The module name * @param boolean|null $permanent Permanent redirect (false by default) - * @return Exit of the PHP after doing the redirection + * @return mixed mixed Exit of the PHP after doing the redirection */ function redirect ($destURL, $module="", $permanent = false) { @@ -366,7 +366,7 @@ class Route * }); * @param string $route Route to check with the URL * @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 + * @return mixed Exit of the PHP after displaying the page if match, or return the * route object to chain it whith the next test */ public function get ($route, $function) @@ -391,7 +391,7 @@ class Route * }); * @param string $route Route to check with the URL * @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 + * @return mixed Exit of the PHP after displaying the page if match, or return the * route object to chain it whith the next test */ public function post ($route, $function) @@ -416,7 +416,7 @@ class Route * }); * @param string $route Route to check with the URL * @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 + * @return mixed Exit of the PHP after displaying the page if match, or return the * route object to chain it whith the next test */ public function put ($route, $function) @@ -441,7 +441,7 @@ class Route * }); * @param string $route Route to check with the URL * @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 + * @return mixed Exit of the PHP after displaying the page if match, or return the * route object to chain it whith the next test */ public function delete ($route, $function) @@ -466,7 +466,7 @@ class Route * }); * @param string $route Route to check with the URL * @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 + * @return mixed Exit of the PHP after displaying the page if match, or return the * route object to chain it whith the next test */ public function options ($route, $function) @@ -493,7 +493,7 @@ class Route * @param string $methods The allowed methods, separated by commas (,) * @param string $route Route to check with the URL * @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 + * @return mixed Exit of the PHP after displaying the page if match, or return the * route object to chain it whith the next test */ public function multi ($methods, $route, $function) @@ -509,7 +509,7 @@ class Route * thereis a match * @param string $route Route to check with the URL * @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 + * @return mixed Exit of the PHP after displaying the page if match, or return the * route object to chain it whith the next test */ public function map ($route, $function) @@ -718,7 +718,7 @@ class Route } /** Redirect to last valid get page if defined - * @return Exit from PHP after redirect or null if the last valid page is not + * @return mixed Exit from PHP after redirect or null if the last valid page is not * defined */ public function lastValidGetPageRedirect ()