diff --git a/helpers.php b/helpers.php index 6dcb131b..3c36c816 100755 --- a/helpers.php +++ b/helpers.php @@ -43,10 +43,6 @@ function append_config(array $array) */ function blank($value) { - if (is_null($value)) { - return true; - } - if (is_string($value)) { return trim($value) === ''; } @@ -55,10 +51,6 @@ function blank($value) return false; } - if ($value instanceof Countable) { - return count($value) === 0; - } - return empty($value); } }