From 3e239d67e3b9b9c40167bbbd826afbac14403519 Mon Sep 17 00:00:00 2001 From: kenjis Date: Thu, 12 Oct 2023 11:48:53 +0900 Subject: [PATCH] docs: fix typo --- user_guide_src/source/installation/upgrade_440.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user_guide_src/source/installation/upgrade_440.rst b/user_guide_src/source/installation/upgrade_440.rst index 76bcc2957a68..c84d72a7e1fe 100644 --- a/user_guide_src/source/installation/upgrade_440.rst +++ b/user_guide_src/source/installation/upgrade_440.rst @@ -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 ` 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::