Add nil check for completion handlers (#568)
Add nil check for completion handlers (#568)

* Add nullability check for completion handler

* Addresses comments

* added line break

firebase/firebase-ios-sdk,firebase/firebase-ios-sdk,firebase/firebase-ios-sdk,firebase/firebase-ios-sdk,firebase/firebase-ios-sdk,firebase/firebase-ios-sdk,firebase/firebase-ios-sdk