From a3dc1f0f55003ca2fb325ed2e3f974094f6cad2e Mon Sep 17 00:00:00 2001 From: George Halkiadakis Date: Thu, 25 May 2023 09:30:37 +0300 Subject: break form scripts in parts; first pdf example --- core/classes/Route.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'core/classes/Route.php') diff --git a/core/classes/Route.php b/core/classes/Route.php index 072723c..ab0a0a7 100644 --- a/core/classes/Route.php +++ b/core/classes/Route.php @@ -20,9 +20,9 @@ class Route { /** add (route) * --- - * @param $expression : (string) static or regex matcher - * @param $function : callback function to be executed if expression is matched - * @param $method : get / post / any + * @param string $expression : static or regex matcher + * @param callback $function : function to be executed if expression is matched + * @param string $method : get / post / any */ public static function add( $expression, $function, $method = 'get' ) { @@ -36,7 +36,7 @@ class Route { /** notFound($function) * --- - * @param $function : call back function to be executed + * @param callback $function : callback function to be executed */ public static function notFound($function) { -- cgit v1.2.3