Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion firestore/src/data_reference_document.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function data_reference_document(string $projectId): void
]);
# [START fs_document_ref]
# [START firestore_data_reference_document]
$document = $db->collection('samples/php/users')->document('lovelace');
$document = $db->collection('samples/php/users')->document('alovelace');
# [END firestore_data_reference_document]
# [END fs_document_ref]
printf('Retrieved document: %s' . PHP_EOL, $document->name());
Expand Down
2 changes: 1 addition & 1 deletion firestore/src/data_reference_document_path.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function data_reference_document_path(string $projectId): void
]);
# [START fs_document_path_ref]
# [START firestore_data_reference_document_path]
$document = $db->document('users/lovelace');
$document = $db->document('users/alovelace');
# [END firestore_data_reference_document_path]
# [END fs_document_path_ref]
printf('Retrieved document from path: %s' . PHP_EOL, $document->name());
Expand Down
2 changes: 1 addition & 1 deletion firestore/src/setup_dataset.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function setup_dataset(string $projectId): void
]);
# [START fs_add_data_1]
# [START firestore_setup_dataset_pt1]
$docRef = $db->collection('samples/php/users')->document('lovelace');
$docRef = $db->collection('samples/php/users')->document('alovelace');
$docRef->set([
'first' => 'Ada',
'last' => 'Lovelace',
Expand Down