diff --git a/system/CodeIgniter.php b/system/CodeIgniter.php index 95be7771b281..a949915c6139 100644 --- a/system/CodeIgniter.php +++ b/system/CodeIgniter.php @@ -334,7 +334,7 @@ private function configureKint(): void * This is "the loop" if you will. The main entry point into the script * that gets the required class instances, fires off the filters, * tries to route the response, loads the controller and generally - * makes all of the pieces work together. + * makes all the pieces work together. * * @return ResponseInterface|void */ @@ -703,6 +703,8 @@ protected function forceSecureAccess($duration = 31_536_000) * @return false|ResponseInterface * * @throws Exception + * + * @deprecated 4.4.2 The parameter $config is deprecated. No longer used. */ public function displayCache(Cache $config) { @@ -722,7 +724,7 @@ public function displayCache(Cache $config) /** * Tells the app that the final output should be cached. * - * @deprecated 4.4.0 Moved to ResponseCache::setTtl(). to No longer used. + * @deprecated 4.4.0 Moved to ResponseCache::setTtl(). No longer used. * * @return void */ @@ -794,7 +796,7 @@ public function displayPerformanceMetrics(string $output): string * match a route against the current URI. If the route is a * "redirect route", will also handle the redirect. * - * @param RouteCollectionInterface|null $routes An collection interface to use in place + * @param RouteCollectionInterface|null $routes A collection interface to use in place * of the config file. * * @return string|string[]|null Route filters, that is, the filters specified in the routes file diff --git a/user_guide_src/source/changelogs/v4.4.2.rst b/user_guide_src/source/changelogs/v4.4.2.rst index 55cf33b0df25..2807579bd0c7 100644 --- a/user_guide_src/source/changelogs/v4.4.2.rst +++ b/user_guide_src/source/changelogs/v4.4.2.rst @@ -34,6 +34,8 @@ Deprecations details. - **CLI:** The public property ``CLI::$readline_support`` and ``CLI::$wait_msg`` are deprecated. These methods will be protected. +- **CodeIgniter:** The parameter ``$config`` for the ``displayCache()`` method is + deprecated. It was not used. Bugs Fixed **********