Code Duplication    Length = 2-2 lines in 2 locations

src/Service/Filler.php 2 locations

@@ 893-894 (lines=2) @@
890
    public function getCoverUrl($id, $type)
891
    {
892
        switch ($type) {
893
            case self::ITEM_TYPE_ANIMATION:
894
                return $this->browser->getHost().'/'.$type.'/img/'.(ceil($id / 1000) * 1000).'/'.$id.'/1.jpg';
895
            case self::ITEM_TYPE_CINEMA:
896
                return $this->browser->getHost().'/'.$type.'/img/'.(ceil($id / 10000) * 10000).'/'.$id.'/1.jpg';
897
            default:
@@ 895-896 (lines=2) @@
892
        switch ($type) {
893
            case self::ITEM_TYPE_ANIMATION:
894
                return $this->browser->getHost().'/'.$type.'/img/'.(ceil($id / 1000) * 1000).'/'.$id.'/1.jpg';
895
            case self::ITEM_TYPE_CINEMA:
896
                return $this->browser->getHost().'/'.$type.'/img/'.(ceil($id / 10000) * 10000).'/'.$id.'/1.jpg';
897
            default:
898
                return;
899
        }