public static function isTypoInDomain(string $domain): bool
    {
        if (self::$domainsTypo === null) {
            self::$domainsTypo = self::getData('domainsTypo');
        }

        if (\in_array($domain, self::$domainsTypo, true)) {
            return true;
        }

        return false;
    }
public static function isTypoInDomain(string $domain): bool
    {
        if (self::$domainsTypo === null) {
            self::$domainsTypo = self::getData('domainsTypo');
        }

        if (\in_array($domain, self::$domainsTypo, true)) {
            return true;
        }

        return false;
    }
public static function isTypoInDomain ( string $ domain ) : bool { if ( self :: $ domainsTypo === null ) { self :: $ domainsTypo = self :: getData ( 'domainsTypo' ) ; } if ( \ in_array ( $ domain , self :: $ domainsTypo , true ) ) { return true ; } return false ; }
Check if the domain has a typo.

@param string $domain

@return bool
Check if the domain has a typo .