Skip to content

Commit

Permalink
declare variable to fix php8.2 deprecation warning
Browse files Browse the repository at this point in the history
Creation of dynamic property MY_Loader:: is deprecated
  • Loading branch information
tenzap committed Feb 13, 2024
1 parent 7bcd486 commit c5fa64e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions application/third_party/MX/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
class MX_Controller
{
public $autoload = array();
private $load;

public function __construct()
{
Expand Down
1 change: 1 addition & 0 deletions application/third_party/MX/Loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
class MX_Loader extends CI_Loader
{
protected $_module;
private $controller;

public $_ci_plugins = array();
public $_ci_cached_vars = array();
Expand Down

0 comments on commit c5fa64e

Please sign in to comment.