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

@@ 1923-1930 (lines=8) @@
1920
     *
1921
     * @return GameMapperInterface
1922
     */
1923
    public function getGameMapper()
1924
    {
1925
        if (null === $this->gameMapper) {
1926
            $this->gameMapper = $this->serviceLocator->get('playgroundgame_game_mapper');
1927
        }
1928
1929
        return $this->gameMapper;
1930
    }
1931
1932
    /**
1933
     * setGameMapper