Skip to content

Commit 7224c72

Browse files
committed
RR feedback
1 parent 82679a7 commit 7224c72

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

docs/upgrade.txt

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,14 @@ This library version introduces the following breaking changes:
7979
of this behavior, you cannot have two separate ``id`` and ``_id`` fields in your
8080
documents.
8181

82-
- Removes support for the ``$collection`` property and the following associated
83-
methods:
82+
- Removes support for the ``$collection`` property and associated methods.
83+
The following list contains the removed methods and provides alternative methods
84+
that you can use to replace the functionality:
8485

85-
- ``Model::collection()``. Instead, use ``Model::table()``.
86-
- ``DB::collection()``. Instead, use ``DB::table()``.
87-
- ``Connection::collection()``. Instead, use ``Connection::table()``.
88-
- ``Schema::collection()``. Instead, use ``Schema::table()``.
86+
- ``Model::collection()``: use ``Model::table()``
87+
- ``DB::collection()``: use ``DB::table()``
88+
- ``Connection::collection()``: use ``Connection::table()``
89+
- ``Schema::collection()``: use ``Schema::table()``
8990

9091
.. _laravel-breaking-changes-v4.x:
9192

0 commit comments

Comments
 (0)