public static function decodeId($hash, $salt, $hashLength = self::MIN_HASH_LENGTH)
    {
        $hashIds = new Hashids($salt, $hashLength);
        return ArrayHelper::getValue($hashIds->decode($hash), '0');
    }