Code Duplication    Length = 8-8 lines in 2 locations

src/Service/MissionGame.php 1 location

@@ 288-295 (lines=8) @@
285
    *
286
    * @return Mapper/GameMapper $gameMapper
287
    */
288
    public function getGameMapper()
289
    {
290
        if (null === $this->gameMapper) {
291
            $this->gameMapper = $this->serviceLocator->get('playgroundgame_game_mapper');
292
        }
293
294
        return $this->gameMapper;
295
    }
296
}
297

src/Service/Game.php 1 location

@@ 1682-1689 (lines=8) @@
1679
     *
1680
     * @return GameMapperInterface
1681
     */
1682
    public function getGameMapper()
1683
    {
1684
        if (null === $this->gameMapper) {
1685
            $this->gameMapper = $this->serviceLocator->get('playgroundgame_game_mapper');
1686
        }
1687
1688
        return $this->gameMapper;
1689
    }
1690
1691
    /**
1692
     * setGameMapper