Code Duplication    Length = 16-16 lines in 2 locations

src/eXpansion/Bundle/LocalRecords/Command/DelDummyRecordsCommand.php 1 location

@@ 63-78 (lines=16) @@
60
     * @param MapQueryBuilder    $mapQuery
61
     * @param Console            $console
62
     */
63
    public function __construct(
64
        Connection $connection,
65
        MapStorage $mapStorage,
66
        PlayerQueryBuilder $playerQueryBuilder,
67
        RecordQueryBuilder $recordQueryBuilder,
68
        MapQueryBuilder $mapQuery,
69
        Console $console
70
    ) {
71
        parent::__construct();
72
        $this->mapStorage = $mapStorage;
73
        $this->playerQueryBuilder = $playerQueryBuilder;
74
        $this->recordQueryBuilder = $recordQueryBuilder;
75
        $this->mapQuery = $mapQuery;
76
        $this->console = $console;
77
        $this->connection = $connection;
78
    }
79
80
    /**
81
     * @inheritdoc

src/eXpansion/Bundle/LocalRecords/Command/GenDummyRecordsCommand.php 1 location

@@ 66-81 (lines=16) @@
63
     * @param MapQueryBuilder    $mapQuery
64
     * @param Console            $console
65
     */
66
    public function __construct(
67
        Connection $connection,
68
        MapStorage $mapStorage,
69
        PlayerQueryBuilder $playerQueryBuilder,
70
        RecordQueryBuilder $recordQueryBuilder,
71
        MapQueryBuilder $mapQuery,
72
        Console $console
73
    ) {
74
        parent::__construct();
75
        $this->mapStorage = $mapStorage;
76
        $this->playerQueryBuilder = $playerQueryBuilder;
77
        $this->recordQueryBuilder = $recordQueryBuilder;
78
        $this->mapQuery = $mapQuery;
79
        $this->console = $console;
80
        $this->connection = $connection;
81
    }
82
83
    /**
84
     * @inheritdoc