Skip to content

Commit 5aecfd1

Browse files
committed
docs: update comments in Config/Autoload.php
1 parent 6bba15a commit 5aecfd1

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

app/Config/Autoload.php

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,18 @@ class Autoload extends AutoloadConfig
3030
* their location on the file system. These are used by the autoloader
3131
* to locate files the first time they have been instantiated.
3232
*
33-
* The '/app' and '/system' directories are already mapped for you.
34-
* you may change the name of the 'App' namespace if you wish,
33+
* The 'Config' (APPPATH . 'Config') and 'CodeIgniter' (SYSTEMPATH) are
34+
* already mapped for you.
35+
*
36+
* You may change the name of the 'App' namespace if you wish,
3537
* but this should be done prior to creating any namespaced classes,
3638
* else you will need to modify all of those classes for this to work.
3739
*
38-
* Prototype:
39-
* $psr4 = [
40-
* 'CodeIgniter' => SYSTEMPATH,
41-
* 'App' => APPPATH
42-
* ];
43-
*
4440
* @var array<string, array<int, string>|string>
4541
* @phpstan-var array<string, string|list<string>>
4642
*/
4743
public $psr4 = [
48-
APP_NAMESPACE => APPPATH, // For custom app namespace
44+
APP_NAMESPACE => APPPATH,
4945
];
5046

5147
/**

0 commit comments

Comments
 (0)