Code Duplication    Length = 3-3 lines in 2 locations

Service/Importer.php 2 locations

@@ 162-164 (lines=3) @@
159
160
    private function isValidDomain(string $domain): bool
161
    {
162
        if (!empty($this->config['blacklist_domains']) && \in_array($domain, $this->config['blacklist_domains'], true)) {
163
            return false;
164
        }
165
        if (!empty($this->config['whitelist_domains']) && !\in_array($domain, $this->config['whitelist_domains'], true)) {
166
            return false;
167
        }
@@ 165-167 (lines=3) @@
162
        if (!empty($this->config['blacklist_domains']) && \in_array($domain, $this->config['blacklist_domains'], true)) {
163
            return false;
164
        }
165
        if (!empty($this->config['whitelist_domains']) && !\in_array($domain, $this->config['whitelist_domains'], true)) {
166
            return false;
167
        }
168
169
        return true;
170
    }