aboutsummaryrefslogtreecommitdiffhomepage
path: root/Functions
diff options
context:
space:
mode:
authorGravatar Bryan Klimt <bklimt@gmail.com>2018-03-28 13:34:45 -0700
committerGravatar GitHub <noreply@github.com>2018-03-28 13:34:45 -0700
commitde07d576664d5d8f645af399463eaccb1d0a78dd (patch)
treea6d893e49a67cae780fe3feeb584ae3b23ce314b /Functions
parent54c064c17cc6cd1250e7b2bb1e24c57512744034 (diff)
parente78f9d41d3f3c100c4e9d7744346161d64ab9126 (diff)
Merge pull request #987 from firebase/klimt-fix-format
Fix some formatting issues.
Diffstat (limited to 'Functions')
-rw-r--r--Functions/.clang-format7
-rw-r--r--Functions/Example/FirebaseFunctions/FIRAppDelegate.h2
-rw-r--r--Functions/FirebaseFunctions/Public/FIRHTTPSCallable.h3
3 files changed, 3 insertions, 9 deletions
diff --git a/Functions/.clang-format b/Functions/.clang-format
deleted file mode 100644
index fb06210..0000000
--- a/Functions/.clang-format
+++ /dev/null
@@ -1,7 +0,0 @@
-BasedOnStyle: Google
-ColumnLimit: 100
-BinPackParameters: false
-AllowAllParametersOfDeclarationOnNextLine: true
-ObjCSpaceBeforeProtocolList: false
-SpacesInContainerLiterals: true
-PointerAlignment: Right
diff --git a/Functions/Example/FirebaseFunctions/FIRAppDelegate.h b/Functions/Example/FirebaseFunctions/FIRAppDelegate.h
index 1d6d40b..8349c18 100644
--- a/Functions/Example/FirebaseFunctions/FIRAppDelegate.h
+++ b/Functions/Example/FirebaseFunctions/FIRAppDelegate.h
@@ -14,7 +14,7 @@
@import UIKit;
-@interface FIRAppDelegate : UIResponder<UIApplicationDelegate>
+@interface FIRAppDelegate : UIResponder <UIApplicationDelegate>
@property(strong, nonatomic) UIWindow *window;
diff --git a/Functions/FirebaseFunctions/Public/FIRHTTPSCallable.h b/Functions/FirebaseFunctions/Public/FIRHTTPSCallable.h
index 9298dda..473a944 100644
--- a/Functions/FirebaseFunctions/Public/FIRHTTPSCallable.h
+++ b/Functions/FirebaseFunctions/Public/FIRHTTPSCallable.h
@@ -84,7 +84,8 @@ NS_SWIFT_NAME(HTTPSCallable)
// clang-format off
// because it incorrectly breaks this NS_SWIFT_NAME.
- (void)callWithObject:(nullable id)data
- completion:(void (^)(FIRHTTPSCallableResult *_Nullable result, NSError *_Nullable error))completion
+ completion:(void (^)(FIRHTTPSCallableResult *_Nullable result,
+ NSError *_Nullable error))completion
NS_SWIFT_NAME(call(_:completion:));
// clang-format on