We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 078f994 commit 9f601ccCopy full SHA for 9f601cc
Source/PINDiskCache.m
@@ -185,15 +185,15 @@ - (instancetype)initWithName:(NSString *)name
185
operationQueue:(PINOperationQueue *)operationQueue
186
ttlCache:(BOOL)ttlCache
187
{
188
- if (!name)
+ if (!name) {
189
return nil;
190
-
+ }
191
192
NSAssert(((!serializer && !deserializer) || (serializer && deserializer)),
193
@"PINDiskCache must be initialized with a serializer AND deserializer.");
194
195
NSAssert(((!keyEncoder && !keyDecoder) || (keyEncoder && keyDecoder)),
196
- @"PINDiskCache must be initialized with a encoder AND decoder.");
+ @"PINDiskCache must be initialized with an encoder AND decoder.");
197
198
if (self = [super init]) {
199
__unused int result = pthread_mutex_init(&_mutex, NULL);
0 commit comments