diff --git a/system/HTTP/IncomingRequest.php b/system/HTTP/IncomingRequest.php index 079a3b69d02f..e550b0f721bb 100755 --- a/system/HTTP/IncomingRequest.php +++ b/system/HTTP/IncomingRequest.php @@ -67,11 +67,9 @@ class IncomingRequest extends Request * AFTER the baseURL. So, if hosted in a sub-folder this will * appear different than actual URI path. If you need that use getPath(). * - * @deprecated Will be protected. Use getUri() instead. - * * @var URI */ - public $uri; + protected $uri; /** * The detected URI path (relative to the baseURL). @@ -125,10 +123,8 @@ class IncomingRequest extends Request * Configuration settings. * * @var App - * - * @deprecated Will be protected. */ - public $config; + protected $config; /** * Holds the old data from a redirect. diff --git a/user_guide_src/source/changelogs/v4.5.0.rst b/user_guide_src/source/changelogs/v4.5.0.rst index 5b8e22ac802f..2b6fc7299231 100644 --- a/user_guide_src/source/changelogs/v4.5.0.rst +++ b/user_guide_src/source/changelogs/v4.5.0.rst @@ -130,6 +130,8 @@ Test Others ------ +- **IncomingRequest::** The visibility of the deprecated properties ``$uri`` and + ``$config`` has been changed to protected. - **Config:** The deprecated ``CodeIgniter\Config\Config`` class has been removed. Enhancements