diff --git a/docs/en/04_Changelogs/4.0.0.md b/docs/en/04_Changelogs/4.0.0.md index ef7c73dd8..f7d537aec 100644 --- a/docs/en/04_Changelogs/4.0.0.md +++ b/docs/en/04_Changelogs/4.0.0.md @@ -1943,7 +1943,7 @@ that it belongs to, e.g. `themes/mytheme/templates/MyVendor/Foobar/Model/MyModel All static methods have been removed, and the `inst_` prefix removed from all instance members. Please see the upgrading section on Session object for more details. * `Director.rules` config no longer support `redirect:` directly via config. -* `Director::get_environment_type()` and `Director::set_environment_type()` are removed. +* `Director::set_environment_type()` has been removed. Get the `Kernel` instance via injector and query `getEnvironment()` instead. E.g. `$type = Injector::inst()->get(Kernel::class)->getEnvironment();`. * The environment can no longer be configured via YAML (`Director.environment_type`).