File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ public function raw($expression = null)
174
174
$ results = iterator_to_array ($ results , false );
175
175
176
176
return $ this ->model ->hydrate ($ results );
177
- } // Convert Mongo BSONDocument to a single object.
177
+ } // Convert MongoDB BSONDocument to a single object.
178
178
elseif ($ results instanceof BSONDocument) {
179
179
$ results = $ results ->getArrayCopy ();
180
180
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ abstract class Model extends BaseModel
55
55
*/
56
56
public function getIdAttribute ($ value = null )
57
57
{
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.
59
59
// This allows us to work with models in a more sql-like way.
60
60
if (! $ value && array_key_exists ('_id ' , $ this ->attributes )) {
61
61
$ value = $ this ->attributes ['_id ' ];
You can’t perform that action at this time.
0 commit comments