From ed52c19e0518b1f591c1cde9fded7a604c2183e4 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 8 Aug 2011 08:27:12 -0500 Subject: [PATCH] Refactoring Arr class. --- system/arr.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/system/arr.php b/system/arr.php index c3609d8d..199e415a 100644 --- a/system/arr.php +++ b/system/arr.php @@ -15,10 +15,7 @@ class Arr { */ public static function get($array, $key, $default = null) { - if (is_null($key)) - { - return $array; - } + if (is_null($key)) return $array; foreach (explode('.', $key) as $segment) {