Code Duplication    Length = 8-8 lines in 2 locations

src/PlaygroundGame/Service/MissionGame.php 1 location

@@ 279-286 (lines=8) @@
276
    *
277
    * @return Mapper/GameMapper $gameMapper
278
    */
279
    public function getGameMapper()
280
    {
281
        if (null === $this->gameMapper) {
282
            $this->gameMapper = $this->getServiceManager()->get('playgroundgame_game_mapper');
283
        }
284
285
        return $this->gameMapper;
286
    }
287
}
288

src/PlaygroundGame/Service/Game.php 1 location

@@ 1496-1503 (lines=8) @@
1493
     *
1494
     * @return GameMapperInterface
1495
     */
1496
    public function getGameMapper()
1497
    {
1498
        if (null === $this->gameMapper) {
1499
            $this->gameMapper = $this->getServiceManager()->get('playgroundgame_game_mapper');
1500
        }
1501
1502
        return $this->gameMapper;
1503
    }
1504
1505
    /**
1506
     * setGameMapper