Skip to content

Commit c3f5824

Browse files
committed
Add missing nullability type specifier
1 parent 4252b71 commit c3f5824

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Sources/SBTUITestTunnelCommon/include/NSURLRequest+HTTPBodyFix.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
@interface NSURLRequest (HTTPBodyFix)
2222

2323
/// Reads data from an NSInputStream
24-
+ (NSData *)sbt_readFromBodyStream:(NSInputStream *)stream;
24+
+ (nullable NSData *)sbt_readFromBodyStream:(nullable NSInputStream *)stream;
2525

2626
/// Extracts HTTP body data from a request using multiple fallback strategies:
2727
/// 1. Direct HTTPBody property
@@ -40,9 +40,9 @@
4040
- (void)sbt_markUploadTaskRequest;
4141

4242
/// Fetches an upload task's body from NSURLProtocol
43-
- (NSData *)sbt_uploadHTTPBody;
43+
- (nullable NSData *)sbt_uploadHTTPBody;
4444

4545
/// Returns a copy of the request without the HTTP body
46-
- (NSURLRequest *)sbt_copyWithoutBody;
46+
- (nonnull NSURLRequest *)sbt_copyWithoutBody;
4747

4848
@end

0 commit comments

Comments
 (0)