Skip to content

Commit e9cfa97

Browse files
committed
docs: fix sample config filename
It is a classname, not a filename, os `File` is inappropriate.
1 parent 57e3a13 commit e9cfa97

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

user_guide_src/source/installation/upgrade_configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Upgrade Guide
3232
from the CI3 config into the new CI4 config class as public class properties.
3333
4. Now, you have to change the config fetching syntax everywhere you fetch config
3434
values. The CI3 syntax is something like ``$this->config->item('item_name');``.
35-
You have to change this into ``config('MyConfigFile')->item_name;``.
35+
You have to change this into ``config('MyConfig')->item_name;``.
3636

3737
Code Example
3838
============

0 commit comments

Comments
 (0)