Code Duplication    Length = 7-7 lines in 2 locations

src/Service/PostVote.php 1 location

@@ 36-42 (lines=7) @@
33
        return $path;
34
    }
35
36
    public function getMediaUrl($post)
37
    {
38
        $media_url = $this->getOptions()->getMediaUrl() . '/';
39
        $media_url .= 'game' . $post->getPostVote()->getId() . '/' . 'post'. $post->getId() . '/';
40
41
        return $media_url;
42
    }
43
44
    /**
45
     * @param boolean $entry

src/Service/Game.php 1 location

@@ 88-94 (lines=7) @@
85
        return $path;
86
    }
87
88
    public function getGameUserMediaUrl($game, $user)
89
    {
90
        $media_url = $this->getOptions()->getMediaUrl() . '/';
91
        $media_url .= 'game' . $game->getId() . '/' . 'user'. $user->getId() . '/';
92
93
        return $media_url;
94
    }
95
96
    /**
97
     *