Skip to content

Commit

Permalink
docs: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Oct 12, 2023
1 parent da6492d commit 3e239d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user_guide_src/source/installation/upgrade_440.rst
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ When Passing Classname with Namespace to Factories
The behavior of passing a classname with a namespace to Factories has been changed.
See :ref:`ChangeLog <v440-factories>` for details.

If you have code like ``model('\Myth\Auth\Models\UserModel::class')`` or
If you have code like ``model(\Myth\Auth\Models\UserModel::class)`` or
``model('Myth\Auth\Models\UserModel')`` (the code may be in the third-party packages),
and you expect to load your ``App\Models\UserModel``, you need to define the
classname to be loaded before the first loading of that class::
Expand Down

0 comments on commit 3e239d6

Please sign in to comment.