[PHP8.2] Updated CI files to work with PHP8.2

This commit is contained in:
Andreas
2023-07-16 09:49:49 +02:00
parent 1e300fbc30
commit 1f116eee67
6 changed files with 19 additions and 1 deletions

View File

@@ -49,6 +49,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
* @author EllisLab Dev Team
* @link https://codeigniter.com/userguide3/general/controllers.html
*/
#[AllowDynamicProperties]
class CI_Controller {
/**

View File

@@ -48,6 +48,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
* @author EllisLab Dev Team
* @link https://codeigniter.com/userguide3/libraries/loader.html
*/
#[AllowDynamicProperties]
class CI_Loader {
// All these are set automatically. Don't mess with them.

View File

@@ -50,6 +50,13 @@ defined('BASEPATH') OR exit('No direct script access allowed');
*/
class CI_Router {
/**
* CI_URI class object
*
* @var object
*/
public $uri;
/**
* CI_Config class object
*

View File

@@ -50,6 +50,13 @@ defined('BASEPATH') OR exit('No direct script access allowed');
*/
class CI_URI {
/**
* CI_Config instance
*
* @var CI_Config
*/
public $config;
/**
* List of cached URI segments
*