src/MalScraper/Model/General/InfoModel.php
private function getReviewScore($bottom_area)
    {
        $score = [];
        $score_area = $bottom_area->find('table', 0);
        if ($score_area) {
            foreach ($score_area->find('tr') as $each_score) {
                $score_type = strtolower($each_score->find('td', 0)->plaintext);
                $score_value = $each_score->find('td', 1)->plaintext;
                $score[$score_type] = $score_value;
            }
        }

        return $score;
    }
private function getReviewScore($bottom_area)
    {
        $score = [];
        $score_area = $bottom_area->find('table', 0);
        if ($score_area) {
            foreach ($score_area->find('tr') as $each_score) {
                $score_type = strtolower($each_score->find('td', 0)->plaintext);
                $score_value = $each_score->find('td', 1)->plaintext;
                $score[$score_type] = $score_value;
            }
        }

        return $score;
    }
private function getReviewScore ( $ bottom_area ) { $ score = [ ] ; $ score_area = $ bottom_area -> find ( 'table' , 0 ) ; if ( $ score_area ) { foreach ( $ score_area -> find ( 'tr' ) as $ each_score ) { $ score_type = strtolower ( $ each_score -> find ( 'td' , 0 ) -> plaintext ) ; $ score_value = $ each_score -> find ( 'td' , 1 ) -> plaintext ; $ score [ $ score_type ] = $ score_value ; } } return $ score ; }
Get review score.

@param \simplehtmldom_1_5\simple_html_dom $bottom_area

@return array
Get review score .