From 46199478d8a3a56d05693d19a5fdb0ee769c8196 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Sat, 6 Aug 2011 20:51:39 -0500 Subject: [PATCH] refactoring validation class. --- system/validator.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/system/validator.php b/system/validator.php index 148343a1..32c382f5 100644 --- a/system/validator.php +++ b/system/validator.php @@ -489,10 +489,7 @@ class Validator { { list($rule, $parameters) = $this->parse($rule); - if (in_array($rule, $rules)) - { - return true; - } + if (in_array($rule, $rules)) return true; } return false;