@@ -735,13 +735,13 @@ - (void)testAgeLimit
735
735
}];
736
736
737
737
dispatch_group_enter (group);
738
- [self .cache.diskCache objectForKeyAsync: key1 completion: ^(id <PINCaching> cache, NSString *key, id <NSCoding > object) {
738
+ [self .cache.diskCache objectForKeyAsync: key1 completion: ^(PINDiskCache * _Nonnull cache, NSString * _Nonnull key, id <NSCoding > _Nullable object) {
739
739
diskObj1 = object;
740
740
dispatch_group_leave (group);
741
741
}];
742
742
743
743
dispatch_group_enter (group);
744
- [self .cache.diskCache objectForKeyAsync: key2 completion: ^(id <PINCaching> cache, NSString *key, id <NSCoding > object) {
744
+ [self .cache.diskCache objectForKeyAsync: key2 completion: ^(PINDiskCache * _Nonnull cache, NSString * _Nonnull key, id <NSCoding > _Nullable object) {
745
745
diskObj2 = object;
746
746
dispatch_group_leave (group);
747
747
}];
@@ -778,13 +778,13 @@ - (void)testAgeLimit
778
778
}];
779
779
780
780
dispatch_group_enter (group);
781
- [self .cache.diskCache objectForKeyAsync: key1 completion: ^(id <PINCaching> cache, NSString *key, id <NSCoding > object) {
781
+ [self .cache.diskCache objectForKeyAsync: key1 completion: ^(PINDiskCache * _Nonnull cache, NSString * _Nonnull key, id <NSCoding > _Nullable object) {
782
782
diskObj1 = object;
783
783
dispatch_group_leave (group);
784
784
}];
785
785
786
786
dispatch_group_enter (group);
787
- [self .cache.diskCache objectForKeyAsync: key2 completion: ^(PINDiskCache *cache, NSString *key, id <NSCoding > object) {
787
+ [self .cache.diskCache objectForKeyAsync: key2 completion: ^(PINDiskCache * _Nonnull cache, NSString * _Nonnull key, id <NSCoding > _Nullable object) {
788
788
diskObj2 = object;
789
789
dispatch_group_leave (group);
790
790
}];
@@ -909,7 +909,7 @@ - (void)_testTTLCacheObjectAccess {
909
909
}];
910
910
911
911
dispatch_group_enter (group);
912
- [self .cache.diskCache objectForKeyAsync: key completion: ^(id <PINCaching> cache, NSString *key, id <NSCoding > object) {
912
+ [self .cache.diskCache objectForKeyAsync: key completion: ^(PINDiskCache * _Nonnull cache, NSString * _Nonnull key, id <NSCoding > _Nullable object) {
913
913
diskObj = object;
914
914
dispatch_group_leave (group);
915
915
}];
@@ -933,7 +933,7 @@ - (void)_testTTLCacheObjectAccess {
933
933
}];
934
934
935
935
dispatch_group_enter (group);
936
- [self .cache.diskCache objectForKeyAsync: key completion: ^(id <PINCaching> cache, NSString *key, id <NSCoding > object) {
936
+ [self .cache.diskCache objectForKeyAsync: key completion: ^(PINDiskCache * _Nonnull cache, NSString * _Nonnull key, id <NSCoding > _Nullable object) {
937
937
diskObj = object;
938
938
dispatch_group_leave (group);
939
939
}];
0 commit comments