ahsankhatri / firestore-php

Firestore PHP Client (without gRPC extension)
MIT License
62 stars 57 forks source link

Fix notice when listing non-existant documents #13

Closed edruid closed 5 years ago

edruid commented 5 years ago

When listing documents with the parameter showMissing=true, non-existing documents (that has sub-objects) will show up but will not have createTime, updateTime of fields columns. This triggers an "Undefined index" notice which some frameworks (laravel for instance) escalates to an ErrorException.

Also fixes notice on listing empty collections.