Skip to content

Commit f577f0a

Browse files
committed
README updates
1 parent 9231aae commit f577f0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ use PHLAK\Config;
4949
Then instantiate the class:
5050

5151
```php
52-
$config = new Config\Config($context);
52+
$config = new Config\Config($context, $prefix = null);
5353
```
5454

5555
Where `$context` is a path to a supported file type, a directory containing one
@@ -207,7 +207,7 @@ $config->has($key, $override = false);
207207
Load an additional configuration file:
208208

209209
```php
210-
$conifg->load($pathToConfig, $override = true);
210+
$conifg->load($pathToConfig, $prefix = null, $override = true);
211211
```
212212

213213
Merge two Config objects into one:

0 commit comments

Comments
 (0)