Code Duplication    Length = 7-7 lines in 2 locations

src/Service/Memory.php 1 location

@@ 28-34 (lines=7) @@
25
        return $path;
26
    }
27
28
    public function getCardMediaUrl($card)
29
    {
30
        $media_url = $this->getOptions()->getMediaUrl().'/';
31
        $media_url .= 'game'.$card->getGame()->getId().'/cards/';
32
33
        return $media_url;
34
    }
35
36
    /**
37
     *

src/Service/TradingCard.php 1 location

@@ 28-34 (lines=7) @@
25
        return $path;
26
    }
27
28
    public function getModelMediaUrl($model)
29
    {
30
        $media_url = $this->getOptions()->getMediaUrl().'/';
31
        $media_url .= 'game'.$model->getGame()->getId().'/models/';
32
33
        return $media_url;
34
    }
35
36
    /**
37
     * @param  array $data