src/MalScraper/Model/Top/TopPeopleModel.php
private function getBirthday($each_char)
    {
        $day = $each_char->find('.birthday', 0)->plaintext;
        $day = preg_replace('/\s+/', ' ', $day);
        $day = trim($day);

        return $day == 'Unknown' ? '' : $day;
    }
private function getBirthday($each_char)
    {
        $day = $each_char->find('.birthday', 0)->plaintext;
        $day = preg_replace('/\s+/', ' ', $day);
        $day = trim($day);

        return $day == 'Unknown' ? '' : $day;
    }
private function getBirthday ( $ each_char ) { $ day = $ each_char -> find ( '.birthday' , 0 ) -> plaintext ; $ day = preg_replace ( '/\s+/' , ' ' , $ day ) ; $ day = trim ( $ day ) ; return $ day == 'Unknown' ? '' : $ day ; }
Get birthday.

@param \simplehtmldom_1_5\simple_html_dom $each_char

@return string
Get birthday .