Code Duplication    Length = 3-3 lines in 3 locations

Service/Importer.php 3 locations

@@ 200-202 (lines=3) @@
197
198
        $config = array_merge($default, $config);
199
200
        if (!empty($config['blacklist_domains']) && !empty($config['whitelist_domains'])) {
201
            throw new \InvalidArgumentException('Cannot use "blacklist_domains" and "whitelist_domains" at the same time');
202
        }
203
204
        if (!empty($config['blacklist_domains']) && !is_array($config['blacklist_domains'])) {
205
            throw new \InvalidArgumentException('Config parameter "blacklist_domains" must be an array');
@@ 204-206 (lines=3) @@
201
            throw new \InvalidArgumentException('Cannot use "blacklist_domains" and "whitelist_domains" at the same time');
202
        }
203
204
        if (!empty($config['blacklist_domains']) && !is_array($config['blacklist_domains'])) {
205
            throw new \InvalidArgumentException('Config parameter "blacklist_domains" must be an array');
206
        }
207
208
        if (!empty($config['whitelist_domains']) && !is_array($config['whitelist_domains'])) {
209
            throw new \InvalidArgumentException('Config parameter "whitelist_domains" must be an array');
@@ 208-210 (lines=3) @@
205
            throw new \InvalidArgumentException('Config parameter "blacklist_domains" must be an array');
206
        }
207
208
        if (!empty($config['whitelist_domains']) && !is_array($config['whitelist_domains'])) {
209
            throw new \InvalidArgumentException('Config parameter "whitelist_domains" must be an array');
210
        }
211
212
        $this->config = $config;
213
    }