src/MalScraper/Model/Additional/StatModel.php
private function getScorePercent($each_score)
    {
        $temp_vote = $each_score->find('td', 1)->find('span small', 0)->plaintext;
        $percent = $each_score->find('td', 1)->find('span', 0)->plaintext;
        $percent = str_replace([$temp_vote, '%', "\xc2\xa0"], '', $percent);

        return trim($percent);
    }
private function getScorePercent($each_score)
    {
        $temp_vote = $each_score->find('td', 1)->find('span small', 0)->plaintext;
        $percent = $each_score->find('td', 1)->find('span', 0)->plaintext;
        $percent = str_replace([$temp_vote, '%', "\xc2\xa0"], '', $percent);

        return trim($percent);
    }
private function getScorePercent ( $ each_score ) { $ temp_vote = $ each_score -> find ( 'td' , 1 ) -> find ( 'span small' , 0 ) -> plaintext ; $ percent = $ each_score -> find ( 'td' , 1 ) -> find ( 'span' , 0 ) -> plaintext ; $ percent = str_replace ( [ $ temp_vote , '%' , "\xc2\xa0" ] , '' , $ percent ) ; return trim ( $ percent ) ; }
Get score percent.

@param \simplehtmldom_1_5\simple_html_dom $each_score

@return string
Get score percent .