Code Duplication    Length = 3-3 lines in 3 locations

Service/Importer.php 3 locations

@@ 209-211 (lines=3) @@
206
207
        $config = array_merge($default, $config);
208
209
        if (!empty($config['blacklist_domains']) && !empty($config['whitelist_domains'])) {
210
            throw new \InvalidArgumentException('Cannot use "blacklist_domains" and "whitelist_domains" at the same time');
211
        }
212
213
        if (!empty($config['blacklist_domains']) && !is_array($config['blacklist_domains'])) {
214
            throw new \InvalidArgumentException('Config parameter "blacklist_domains" must be an array');
@@ 213-215 (lines=3) @@
210
            throw new \InvalidArgumentException('Cannot use "blacklist_domains" and "whitelist_domains" at the same time');
211
        }
212
213
        if (!empty($config['blacklist_domains']) && !is_array($config['blacklist_domains'])) {
214
            throw new \InvalidArgumentException('Config parameter "blacklist_domains" must be an array');
215
        }
216
217
        if (!empty($config['whitelist_domains']) && !is_array($config['whitelist_domains'])) {
218
            throw new \InvalidArgumentException('Config parameter "whitelist_domains" must be an array');
@@ 217-219 (lines=3) @@
214
            throw new \InvalidArgumentException('Config parameter "blacklist_domains" must be an array');
215
        }
216
217
        if (!empty($config['whitelist_domains']) && !is_array($config['whitelist_domains'])) {
218
            throw new \InvalidArgumentException('Config parameter "whitelist_domains" must be an array');
219
        }
220
221
        $this->config = $config;
222
    }