diff options
author | Jonatas Miguel <jonatas.df.miguel@gmail.com> | 2012-09-27 13:10:01 +0200 |
---|---|---|
committer | Jonatas Miguel <jonatas.df.miguel@gmail.com> | 2012-09-27 13:10:01 +0200 |
commit | 24296ca1e940ac32841cc24a5fdc2f49a0f8ec8a (patch) | |
tree | 7c808728f335b301b3e415ceb16426c3fb788542 /system/core/Router.php | |
parent | f950e5c18d7a36408e33cb11bb67a254362607cc (diff) |
corrected a few more style problems
Diffstat (limited to 'system/core/Router.php')
-rw-r--r-- | system/core/Router.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/core/Router.php b/system/core/Router.php index 0e915521d..3428ff07b 100644 --- a/system/core/Router.php +++ b/system/core/Router.php @@ -374,7 +374,7 @@ class CI_Router { if (preg_match('#^'.$key.'$#', $uri, $matches)) { // Are we using callbacks to process back-references? - if(! is_string($val) && is_callable($val)) + if ( ! is_string($val) && is_callable($val)) { // Remove the original string from the matches array. array_shift($matches); @@ -387,7 +387,7 @@ class CI_Router { $param_count = $reflection->getNumberOfParameters(); // Are there more parameters than matches? - if($param_count > $match_count) + if ($param_count > $match_count) { // Any params without matches will be set to an empty string. $matches = array_merge($matches, array_fill($match_count, $param_count - $match_count, '')); |