summaryrefslogtreecommitdiff
path: root/core/classes/Route.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/classes/Route.php')
-rw-r--r--core/classes/Route.php8
1 files changed, 4 insertions, 4 deletions
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)
{