Skip to content

Commit 7638bb0

Browse files
committed
small fixes
1 parent ab5b67c commit 7638bb0

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

docs/eloquent-models/model-class.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,10 @@ model attribute, stored in MongoDB as a :php:`MongoDB\\BSON\\UTCDateTime
200200

201201
.. tip:: Casts in Laravel 11
202202

203-
In Laravel 11, you can define a ``casts()`` method to specify data type conversions
204-
instead of using the ``$casts`` attribute. The following code performs the same
205-
conversion as the preceding example by using a ``casts()`` method:
203+
Starting in Laravel 11, you can define a ``casts()`` method to
204+
specify data type conversions instead of using the ``$casts``
205+
attribute. The following code performs the same conversion as the
206+
preceding example by using a ``casts()`` method:
206207

207208
.. code-block:: php
208209

docs/feature-compatibility.txt

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Overview
2121
--------
2222

2323
This guide describes the Laravel features that are supported by
24-
{+odm-long+}. This page discusses Laravel version 11.x feature
24+
{+odm-long+}. This page discusses Laravel version 12.x feature
2525
availability in the {+odm-short+}.
2626

2727
The following sections contain tables that describe whether individual
@@ -32,6 +32,7 @@ Database Features
3232

3333
.. list-table::
3434
:header-rows: 1
35+
:widths: 40 60
3536

3637
* - Eloquent Feature
3738
- Availability
@@ -67,7 +68,7 @@ Database Features
6768
- Partially supported. Laravel uses a dot separator (``.``)
6869
between SQL schema and table names, but MongoDB allows ``.``
6970
characters within collection names, which might lead to
70-
unexpected parsing of namespaces.
71+
unexpected namespace parsing.
7172

7273
Query Features
7374
--------------
@@ -120,19 +121,19 @@ The following Eloquent methods are not supported in the {+odm-short+}:
120121
* - Unions
121122
- *Unsupported*
122123

123-
* - `Basic Where Clauses <https://laravel.com/docs/11.x/queries#basic-where-clauses>`__
124+
* - `Basic Where Clauses <https://laravel.com/docs/{+laravel-docs-version+}/queries#basic-where-clauses>`__
124125
- ✓
125126

126-
* - `Additional Where Clauses <https://laravel.com/docs/11.x/queries#additional-where-clauses>`__
127+
* - `Additional Where Clauses <https://laravel.com/docs/{+laravel-docs-version+}/queries#additional-where-clauses>`__
127128
- ✓
128129

129130
* - Logical Grouping
130131
- ✓
131132

132-
* - `Advanced Where Clauses <https://laravel.com/docs/11.x/queries#advanced-where-clauses>`__
133+
* - `Advanced Where Clauses <https://laravel.com/docs/{+laravel-docs-version+}/queries#advanced-where-clauses>`__
133134
- ✓
134135

135-
* - `Subquery Where Clauses <https://laravel.com/docs/11.x/queries#subquery-where-clauses>`__
136+
* - `Subquery Where Clauses <https://laravel.com/docs/{+laravel-docs-version+}/queries#subquery-where-clauses>`__
136137
- *Unsupported*
137138

138139
* - Ordering

0 commit comments

Comments
 (0)