/** * Return the sanitized $Type * * @param string $type The Type to sanitize * * @return string * * @since 3.2 */ public static function sanitizeType($type) { return ucfirst(trim($type)); }