Skip to content

Commit 3618aef

Browse files
GromNaNalcaeus
andauthored
Update src/Schema/Builder.php
Co-authored-by: Andreas Braun <[email protected]>
1 parent 91fad3f commit 3618aef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Schema/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function hasColumn($table, $column): bool
4545
*/
4646
public function hasColumns($table, array $columns): bool
4747
{
48-
// The field "id" (alias of "_id") always exist on MongoDB collections
48+
// The field "id" (alias of "_id") always exists in MongoDB documents
4949
$columns = array_filter($columns, fn (string $column): bool => ! in_array($column, ['_id', 'id'], true));
5050

5151
// Any subfield named "*.id" is an alias of "*._id"

0 commit comments

Comments
 (0)