Code Duplication    Length = 3-3 lines in 3 locations

Service/Importer.php 3 locations

@@ 185-187 (lines=3) @@
182
183
        $config = \array_merge($default, $config);
184
185
        if (!empty($config['blacklist_domains']) && !empty($config['whitelist_domains'])) {
186
            throw new \InvalidArgumentException('Cannot use "blacklist_domains" and "whitelist_domains" at the same time');
187
        }
188
189
        if (!empty($config['blacklist_domains']) && !\is_array($config['blacklist_domains'])) {
190
            throw new \InvalidArgumentException('Config parameter "blacklist_domains" must be an array');
@@ 189-191 (lines=3) @@
186
            throw new \InvalidArgumentException('Cannot use "blacklist_domains" and "whitelist_domains" at the same time');
187
        }
188
189
        if (!empty($config['blacklist_domains']) && !\is_array($config['blacklist_domains'])) {
190
            throw new \InvalidArgumentException('Config parameter "blacklist_domains" must be an array');
191
        }
192
193
        if (!empty($config['whitelist_domains']) && !\is_array($config['whitelist_domains'])) {
194
            throw new \InvalidArgumentException('Config parameter "whitelist_domains" must be an array');
@@ 193-195 (lines=3) @@
190
            throw new \InvalidArgumentException('Config parameter "blacklist_domains" must be an array');
191
        }
192
193
        if (!empty($config['whitelist_domains']) && !\is_array($config['whitelist_domains'])) {
194
            throw new \InvalidArgumentException('Config parameter "whitelist_domains" must be an array');
195
        }
196
197
        $this->config = $config;
198
    }