diff options
author | Jonatas Miguel <jonatas.df.miguel@gmail.com> | 2012-08-06 18:10:17 +0200 |
---|---|---|
committer | Jonatas Miguel <jonatas.df.miguel@gmail.com> | 2012-08-06 18:10:17 +0200 |
commit | cf168303ead21d1c8ad89af01458806e6be197fd (patch) | |
tree | d77b9c38d3b59c07034d3e0390c06728395c25a0 /system/core/Router.php | |
parent | 07264381020d730ebba9ae95688b73c25e523e54 (diff) |
Updated documentation
Diffstat (limited to 'system/core/Router.php')
-rw-r--r-- | system/core/Router.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Router.php b/system/core/Router.php index 081468944..b11aa9ba5 100644 --- a/system/core/Router.php +++ b/system/core/Router.php @@ -387,7 +387,7 @@ class CI_Router { // Determine how many parameters the callback has. $reflection = new ReflectionFunction($val); - $param_count = count($reflection->getParameters()); + $param_count = $reflection->getNumberOfParameters(); // Are there more parameters than matches? if($param_count > $match_count) |