Code Duplication    Length = 8-8 lines in 2 locations

src/PlaygroundGame/Service/Cron.php 1 location

@@ 102-109 (lines=8) @@
99
     *
100
     * @return GameMapperInterface
101
     */
102
    public function getGameMapper()
103
    {
104
        if (null === $this->gameMapper) {
105
            $this->gameMapper = $this->getServiceManager()->get('playgroundgame_game_mapper');
106
        }
107
108
        return $this->gameMapper;
109
    }
110
111
    /**
112
     * setGameMapper

src/PlaygroundGame/Service/Game.php 1 location

@@ 1626-1633 (lines=8) @@
1623
     *
1624
     * @return GameMapperInterface
1625
     */
1626
    public function getGameMapper()
1627
    {
1628
        if (null === $this->gameMapper) {
1629
            $this->gameMapper = $this->getServiceManager()->get('playgroundgame_game_mapper');
1630
        }
1631
1632
        return $this->gameMapper;
1633
    }
1634
1635
    /**
1636
     * setGameMapper