Skip to content

Commit 5ba1b9c

Browse files
kenjisMGatner
andauthored
docs: fix by proofreading
Co-authored-by: MGatner <mgatner@icloud.com>
1 parent 8d2d9f1 commit 5ba1b9c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

user_guide_src/source/changelogs/v4.4.0.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ If you had passed a non-existent classname by mistake, the previous version
5757
would have returned a class instance in the ``App`` or ``Config`` namespace
5858
because of the ``preferApp`` feature.
5959

60-
For example, in a controller (``namespace App\Controllers``), if you call
61-
``config(Config\App::class)`` by mistake (note that you forgot the leading ``\``
62-
in ``Config\App::class``), that means you pass ``App\Controllers\Config\App``.
63-
But the class does not exist, so now Factories return ``null``.
60+
For example, in a controller (``namespace App\Controllers``), if you called
61+
``config(Config\App::class)`` by mistake (note the class is missing the leading ``\``),
62+
meaning you actually passed ``App\Controllers\Config\App``.
63+
But that class does not exist, so now Factories will return ``null``.
6464

6565
Property Name
6666
^^^^^^^^^^^^^

0 commit comments

Comments
 (0)