Skip to content

Commit a2132f0

Browse files
kenjisMGatner
andauthored
docs: fix by proofreading
Co-authored-by: MGatner <mgatner@icloud.com>
1 parent 83d0274 commit a2132f0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

user_guide_src/source/models/model.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ $dateFormat
168168
This value works with ``$useTimestamps`` and ``$useSoftDeletes`` to ensure that the correct type of
169169
date value gets inserted into the database. By default, this creates DATETIME values, but
170170
valid options are: ``'datetime'``, ``'date'``, or ``'int'`` (a PHP timestamp). Using **useSoftDeletes** or
171-
useTimestamps with an invalid or missing dateFormat will cause an exception.
171+
**useTimestamps** with an invalid or missing **dateFormat** will cause an exception.
172172

173173
$createdField
174174
^^^^^^^^^^^^^
@@ -185,7 +185,7 @@ Leave it empty to avoid update it (even ``$useTimestamps`` is enabled).
185185
$deletedField
186186
^^^^^^^^^^^^^
187187

188-
Specifies which database field should use for soft deletions. See :ref:`model-use-soft-deletes`.
188+
Specifies which database field to use for soft deletions. See :ref:`model-use-soft-deletes`.
189189

190190
Validation
191191
----------
@@ -649,7 +649,7 @@ In this case, it operates on the shared instance of the Query Builder held by th
649649

650650
If the Query Builder returns a result, it is returned as is.
651651
In that case, the result may be different from the one returned by the model's method
652-
and may not be what was expected. The model's event is not be triggered.
652+
and may not be what was expected. The model's events are not triggered.
653653

654654
To prevent unexpected behavior, do not use Query Builder methods that return results
655655
and specify the model's method at the end of the method chaining.

0 commit comments

Comments
 (0)