File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ function data_reference_document(string $projectId): void
3838 ]);
3939 # [START fs_document_ref]
4040 # [START firestore_data_reference_document]
41- $ document = $ db ->collection ('samples/php/users ' )->document ('lovelace ' );
41+ $ document = $ db ->collection ('samples/php/users ' )->document ('alovelace ' );
4242 # [END firestore_data_reference_document]
4343 # [END fs_document_ref]
4444 printf ('Retrieved document: %s ' . PHP_EOL , $ document ->name ());
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ function data_reference_document_path(string $projectId): void
3838 ]);
3939 # [START fs_document_path_ref]
4040 # [START firestore_data_reference_document_path]
41- $ document = $ db ->document ('users/lovelace ' );
41+ $ document = $ db ->document ('users/alovelace ' );
4242 # [END firestore_data_reference_document_path]
4343 # [END fs_document_path_ref]
4444 printf ('Retrieved document from path: %s ' . PHP_EOL , $ document ->name ());
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ function setup_dataset(string $projectId): void
3838 ]);
3939 # [START fs_add_data_1]
4040 # [START firestore_setup_dataset_pt1]
41- $ docRef = $ db ->collection ('samples/php/users ' )->document ('lovelace ' );
41+ $ docRef = $ db ->collection ('samples/php/users ' )->document ('alovelace ' );
4242 $ docRef ->set ([
4343 'first ' => 'Ada ' ,
4444 'last ' => 'Lovelace ' ,
You can’t perform that action at this time.
0 commit comments