@@ -742,13 +742,13 @@ - (void)testAgeLimit
742
742
}];
743
743
744
744
dispatch_group_enter (group);
745
- [self .cache.diskCache objectForKeyAsync: key1 completion: ^(id <PINCaching> cache, NSString *key, id <NSCoding > object) {
745
+ [self .cache.diskCache objectForKeyAsync: key1 completion: ^(PINDiskCache * _Nonnull cache, NSString * _Nonnull key, id <NSCoding > _Nullable object) {
746
746
diskObj1 = object;
747
747
dispatch_group_leave (group);
748
748
}];
749
749
750
750
dispatch_group_enter (group);
751
- [self .cache.diskCache objectForKeyAsync: key2 completion: ^(id <PINCaching> cache, NSString *key, id <NSCoding > object) {
751
+ [self .cache.diskCache objectForKeyAsync: key2 completion: ^(PINDiskCache * _Nonnull cache, NSString * _Nonnull key, id <NSCoding > _Nullable object) {
752
752
diskObj2 = object;
753
753
dispatch_group_leave (group);
754
754
}];
@@ -785,13 +785,13 @@ - (void)testAgeLimit
785
785
}];
786
786
787
787
dispatch_group_enter (group);
788
- [self .cache.diskCache objectForKeyAsync: key1 completion: ^(id <PINCaching> cache, NSString *key, id <NSCoding > object) {
788
+ [self .cache.diskCache objectForKeyAsync: key1 completion: ^(PINDiskCache * _Nonnull cache, NSString * _Nonnull key, id <NSCoding > _Nullable object) {
789
789
diskObj1 = object;
790
790
dispatch_group_leave (group);
791
791
}];
792
792
793
793
dispatch_group_enter (group);
794
- [self .cache.diskCache objectForKeyAsync: key2 completion: ^(PINDiskCache *cache, NSString *key, id <NSCoding > object) {
794
+ [self .cache.diskCache objectForKeyAsync: key2 completion: ^(PINDiskCache * _Nonnull cache, NSString * _Nonnull key, id <NSCoding > _Nullable object) {
795
795
diskObj2 = object;
796
796
dispatch_group_leave (group);
797
797
}];
@@ -916,7 +916,7 @@ - (void)_testTTLCacheObjectAccess {
916
916
}];
917
917
918
918
dispatch_group_enter (group);
919
- [self .cache.diskCache objectForKeyAsync: key completion: ^(id <PINCaching> cache, NSString *key, id <NSCoding > object) {
919
+ [self .cache.diskCache objectForKeyAsync: key completion: ^(PINDiskCache * _Nonnull cache, NSString * _Nonnull key, id <NSCoding > _Nullable object) {
920
920
diskObj = object;
921
921
dispatch_group_leave (group);
922
922
}];
@@ -940,7 +940,7 @@ - (void)_testTTLCacheObjectAccess {
940
940
}];
941
941
942
942
dispatch_group_enter (group);
943
- [self .cache.diskCache objectForKeyAsync: key completion: ^(id <PINCaching> cache, NSString *key, id <NSCoding > object) {
943
+ [self .cache.diskCache objectForKeyAsync: key completion: ^(PINDiskCache * _Nonnull cache, NSString * _Nonnull key, id <NSCoding > _Nullable object) {
944
944
diskObj = object;
945
945
dispatch_group_leave (group);
946
946
}];
0 commit comments