Skip to content

Commit d742b28

Browse files
committed
docs: add $ before psr4
Because It is a property.
1 parent 7a2ec03 commit d742b28

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

user_guide_src/source/general/modules.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Namespaces
1717

1818
The core element of the modules functionality comes from the :doc:`PSR-4 compatible autoloading <../concepts/autoloader>`
1919
that CodeIgniter uses. While any code can use the PSR-4 autoloader and namespaces, the primary way to take full advantage of
20-
modules is to namespace your code and add it to **app/Config/Autoload.php**, in the ``psr4`` section.
20+
modules is to namespace your code and add it to **app/Config/Autoload.php**, in the ``$psr4`` property.
2121

2222
For example, let's say we want to keep a simple blog module that we can re-use between applications. We might create
2323
folder with our company name, Acme, to store all of our modules within. We will put it right alongside our **app**
@@ -30,7 +30,7 @@ directory in the main project root::
3030
tests/
3131
writable/
3232

33-
Open **app/Config/Autoload.php** and add the ``Acme\Blog`` namespace to the ``psr4`` array property:
33+
Open **app/Config/Autoload.php** and add the ``Acme\Blog`` namespace to the ``$psr4`` array property:
3434

3535
.. literalinclude:: modules/001.php
3636

0 commit comments

Comments
 (0)