Skip to content

Commit

Permalink
Merge pull request #8035 from kenjis/fix-docs-upgrade_440
Browse files Browse the repository at this point in the history
docs: fix typo in upgrade_440
  • Loading branch information
samsonasik authored Oct 12, 2023
2 parents da6492d + 3e239d6 commit 7869d35
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 7869d35

Please sign in to comment.