src/MalScraper/Model/User/UserModel.php
private function getFavId($each_fav)
    {
        $id = $each_fav->find('a', 0)->href;
        $id = explode('/', $id);

        return $id[4];
    }
private function getFavId($each_fav)
    {
        $id = $each_fav->find('a', 0)->href;
        $id = explode('/', $id);

        return $id[4];
    }
private function getFavId ( $ each_fav ) { $ id = $ each_fav -> find ( 'a' , 0 ) -> href ; $ id = explode ( '/' , $ id ) ; return $ id [ 4 ] ; }
Get favorite id.

@param \simplehtmldom_1_5\simple_html_dom $each_fav

@return string
Get favorite id .