Code Duplication    Length = 3-3 lines in 3 locations

Service/Importer.php 3 locations

@@ 171-173 (lines=3) @@
168
169
        $config = array_merge($default, $config);
170
171
        if (!empty($config['blacklist_domains']) && !empty($config['whitelist_domains'])) {
172
            throw new \InvalidArgumentException('Cannot use "blacklist_domains" and "whitelist_domains" at the same time');
173
        }
174
175
        if (!empty($config['blacklist_domains']) && !is_array($config['blacklist_domains'])) {
176
            throw new \InvalidArgumentException('Config parameter "blacklist_domains" must be an array');
@@ 175-177 (lines=3) @@
172
            throw new \InvalidArgumentException('Cannot use "blacklist_domains" and "whitelist_domains" at the same time');
173
        }
174
175
        if (!empty($config['blacklist_domains']) && !is_array($config['blacklist_domains'])) {
176
            throw new \InvalidArgumentException('Config parameter "blacklist_domains" must be an array');
177
        }
178
179
        if (!empty($config['whitelist_domains']) && !is_array($config['whitelist_domains'])) {
180
            throw new \InvalidArgumentException('Config parameter "whitelist_domains" must be an array');
@@ 179-181 (lines=3) @@
176
            throw new \InvalidArgumentException('Config parameter "blacklist_domains" must be an array');
177
        }
178
179
        if (!empty($config['whitelist_domains']) && !is_array($config['whitelist_domains'])) {
180
            throw new \InvalidArgumentException('Config parameter "whitelist_domains" must be an array');
181
        }
182
183
        $this->config = $config;
184
    }