Code Duplication    Length = 8-8 lines in 2 locations

src/CFilm/CFilms.php 2 locations

@@ 64-71 (lines=8) @@
61
        return $html;
62
    }
63
64
    private function getProg()
65
    {
66
67
        $result = file_get_contents("http://api.stockholmfilmfestival.se/v1/events/date_list/format/json/date/"
68
            . $this->date . "/API-Key/" . $this->apikey);
69
70
        return json_decode($result, true);
71
    }
72
73
74
    private function getFilm($filmid)
@@ 74-81 (lines=8) @@
71
    }
72
73
74
    private function getFilm($filmid)
75
    {
76
77
        $result = file_get_contents("http://api.stockholmfilmfestival.se/v1/films/film/film_id/"
78
            . $filmid . "/API-Key/" . $this->apikey . "/format/json/");
79
80
        return json_decode($result, true);
81
    }
82
83
}