Skip to content

Commit 5fe5e05

Browse files
committed
edits
1 parent 151bb98 commit 5fe5e05

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/upgrade.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ This library version introduces the following breaking changes:
8080
documents.
8181

8282
- Removes support for the ``$collection`` property. The following code shows
83-
how to specify a MongoDB collection name in your User class in older versions
84-
compared to v5.0:
83+
how to assign a MongoDB collection to a variable in your ``User`` class in
84+
older versions compared to v5.0:
8585

8686
.. code-block:: php
87-
:emphasize-lines: 11-12
87+
:emphasize-lines: 10-11
8888

8989
use MongoDB\Laravel\Eloquent\Model;
9090

@@ -101,12 +101,12 @@ This library version introduces the following breaking changes:
101101
...
102102
}
103103

104-
This release also updates the associated ``DB`` and ``Schema`` methods for
104+
This release also modifies the associated ``DB`` and ``Schema`` methods for
105105
accessing a MongoDB collection. The following code shows how to access the
106106
``app_user`` collection in older versions compared to v5.0:
107107

108108
.. code-block:: php
109-
:emphasize-lines: 10-12
109+
:emphasize-lines: 9-11
110110

111111
use Illuminate\Support\Facades\Schema;
112112
use Illuminate\Support\Facades\DB;

0 commit comments

Comments
 (0)