public function filter($in) { $in = parent::filter($in); // Removes empty values if (is_array($in)) { $in = array_filter($in); } return $in; }