src/MalScraper/Model/General/InfoModel.php
private function getCleanInfo($info_type, $next_info)
    {
        $info_value = $next_info->plaintext;
        $clean_info_value = trim(str_replace($info_type, '', $info_value));
        $clean_info_value = preg_replace("/([\s])+/", ' ', $clean_info_value);

        return str_replace([', add some', '?', 'Not yet aired', 'Unknown'], '', $clean_info_value);
    }
private function getCleanInfo($info_type, $next_info)
    {
        $info_value = $next_info->plaintext;
        $clean_info_value = trim(str_replace($info_type, '', $info_value));
        $clean_info_value = preg_replace("/([\s])+/", ' ', $clean_info_value);

        return str_replace([', add some', '?', 'Not yet aired', 'Unknown'], '', $clean_info_value);
    }
private function getCleanInfo ( $ info_type , $ next_info ) { $ info_value = $ next_info -> plaintext ; $ clean_info_value = trim ( str_replace ( $ info_type , '' , $ info_value ) ) ; $ clean_info_value = preg_replace ( "/([\s])+/" , ' ' , $ clean_info_value ) ; return str_replace ( [ ', add some' , '?' , 'Not yet aired' , 'Unknown' ] , '' , $ clean_info_value ) ; }
Get clean other info.

@param string                             $info_type
@param \simplehtmldom_1_5\simple_html_dom $next_info

@return string
Get clean other info .