Code Duplication    Length = 7-7 lines in 2 locations

src/Backup/Source/Mongodump.php 1 location

@@ 134-140 (lines=7) @@
131
     *
132
     * @param array $conf
133
     */
134
    protected function setupSourceData(array $conf)
135
    {
136
        $this->databases                    = Util\Str::toList(Util\Arr::getValue($conf, 'databases'));
137
        $this->collections                  = Util\Str::toList(Util\Arr::getValue($conf, 'collections'));
138
        $this->excludeCollections           = Util\Str::toList(Util\Arr::getValue($conf, 'excludeCollections'));
139
        $this->excludeCollectionsWithPrefix = Util\Str::toList(Util\Arr::getValue($conf, 'excludeCollectionsWithPrefix'));
140
    }
141
142
    /**
143
     * Fetch credential settings.

src/Backup/Source/Mysqldump.php 1 location

@@ 177-183 (lines=7) @@
174
     *
175
     * @param array $conf
176
     */
177
    protected function setupSourceData(array $conf)
178
    {
179
        $this->tables        = Util\Str::toList(Util\Arr::getValue($conf, 'tables'));
180
        $this->databases     = Util\Str::toList(Util\Arr::getValue($conf, 'databases'));
181
        $this->ignoreTables  = Util\Str::toList(Util\Arr::getValue($conf, 'ignoreTables'));
182
        $this->structureOnly = Util\Str::toList(Util\Arr::getValue($conf, 'structureOnly'));
183
    }
184
185
    /**
186
     * (non-PHPDoc)