diff --git a/doc/book/container/zend-servicemanager.md b/doc/book/container/zend-servicemanager.md index a32cc888..c5e5ec30 100644 --- a/doc/book/container/zend-servicemanager.md +++ b/doc/book/container/zend-servicemanager.md @@ -217,9 +217,9 @@ add an entry for `config/autoload/*local.php` to ensure "local" `config/dependencies.php` will look like this: ```php -use Zend\Config\Config; +use Zend\Config\Factory; -return Config::fromFiles( +return Factory::fromFiles( glob('config/autoload/dependencies.{global,local}.php', GLOB_BRACE) ); ``` diff --git a/doc/book/usage-examples.md b/doc/book/usage-examples.md index 04454f56..4a66accb 100644 --- a/doc/book/usage-examples.md +++ b/doc/book/usage-examples.md @@ -268,9 +268,9 @@ In `config/config.php`, place the following: ```php