/** * Filters a value. * * @param mixed $in Object to be filtered * @return \Jyxo\Input\FilterInterface This object instance */ public function filter($in) { $in = parent::filter($in); // Removes empty values if (is_array($in)) { $in = array_filter($in); } return $in; }