Skip to content

Commit 5aaf38c

Browse files
authored
Fix types (#8254)
1 parent e7a078c commit 5aaf38c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

FirebaseSegmentation/Sources/SEGDatabaseManager.m

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ - (void)createOrOpenDatabaseWithCompletion:(SEGRequestCompletion)completionHandl
128128
SEGAddSkipBackupAttributeToItemAtPath(dbPath);
129129

130130
// Read the database into memory.
131-
NSDictionary<NSString *, NSString *> *associations = [self loadMainTable];
131+
NSDictionary<NSString *, NSDictionary<NSString *, NSString *> *> *associations =
132+
[self loadMainTable];
132133
completionHandler(YES, associations);
133134

134135
} else {
@@ -177,7 +178,7 @@ - (void)removeDatabase:(NSString *)path completion:(SEGRequestCompletion)complet
177178

178179
#pragma mark - Private Methods
179180

180-
- (NSDictionary *)loadMainTable {
181+
- (NSDictionary<NSString *, NSDictionary<NSString *, NSString *> *> *)loadMainTable {
181182
NSString *SQLQuery = [NSString
182183
stringWithFormat:@"SELECT %@, %@, %@, %@ FROM %@", kMainTableColumnApplicationIdentifier,
183184
kMainTableColumnCustomInstallationIdentifier,

0 commit comments

Comments
 (0)