Code Duplication    Length = 8-8 lines in 2 locations

src/PlaygroundGame/Service/Game.php 1 location

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

src/PlaygroundGame/Service/MissionGame.php 1 location

@@ 273-280 (lines=8) @@
270
    *
271
    * @return Mapper/GameMapper $gameMapper
272
    */
273
    public function getGameMapper()
274
    {
275
        if (null === $this->gameMapper) {
276
            $this->gameMapper = $this->getServiceManager()->get('playgroundgame_game_mapper');
277
        }
278
279
        return $this->gameMapper;
280
    }
281
}
282