Skip to content

Commit

Permalink
fix: [Firestore] deprecation from autoloading deprecated class
Browse files Browse the repository at this point in the history
  • Loading branch information
bshaffer committed Dec 23, 2024
1 parent 8e0b9f3 commit 06b9b65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Firestore/src/DocumentReference.php
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ function ($collectionId) {
*/
protected function batchFactory()
{
if (!class_exists(WriteBatch::class)) {
if (!class_exists(WriteBatch::class, false)) {
class_alias(BulkWriter::class, WriteBatch::class);
}
return new BulkWriter(
Expand Down

0 comments on commit 06b9b65

Please sign in to comment.