Ver código fonte

style: modify variable name

dongdayu 5 anos atrás
pai
commit
07a61b0864
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2
    2
      ios/RNLGeetestSensebot.m

+ 2
- 2
ios/RNLGeetestSensebot.m Ver arquivo

@@ -19,8 +19,8 @@ typedef NS_ENUM(NSInteger, RNLGSError) {
19 19
     RNLGSParameterParseError = -1,
20 20
 };
21 21
 
22
-static NSNumber* RNLGSGetErrorCode(RNLGSError event) {
23
-    return [NSNumber numberWithInteger:event];
22
+static NSNumber* RNLGSGetErrorCode(RNLGSError error) {
23
+    return [NSNumber numberWithInteger:error];
24 24
 }
25 25
 
26 26
 @interface RNLGeetestSensebot () <GT3CaptchaManagerDelegate, GT3CaptchaManagerViewDelegate>