Skip to content

Commit be0d449

Browse files
committed
Update wordings
1 parent d3d894a commit be0d449

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Eloquent/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public function raw($expression = null)
174174
$results = iterator_to_array($results, false);
175175

176176
return $this->model->hydrate($results);
177-
} // Convert Mongo BSONDocument to a single object.
177+
} // Convert MongoDB BSONDocument to a single object.
178178
elseif ($results instanceof BSONDocument) {
179179
$results = $results->getArrayCopy();
180180

src/Eloquent/Model.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ abstract class Model extends BaseModel
5555
*/
5656
public function getIdAttribute($value = null)
5757
{
58-
// If we don't have a value for 'id', we will use the Mongo '_id' value.
58+
// If we don't have a value for 'id', we will use the MongoDB '_id' value.
5959
// This allows us to work with models in a more sql-like way.
6060
if (! $value && array_key_exists('_id', $this->attributes)) {
6161
$value = $this->attributes['_id'];

0 commit comments

Comments
 (0)