FIX ERROR : Declaration of MX_Loader should be compatible with CI_Loader After Update To PHP 7

After updating 5.6 to PHP 7. I was using HMVC implementation of CodeIgniter and PHP upgrade 
Here I have fixed all issue. Bellow I have given:


1.third party\MX\Lang.php
line=38
public function load($langfile ='', $lang = '', $return = FALSE, $add_suffix = TRUE, $alt_path = '', $_module = '')

2.third party\MX\Loader.php
line=107
public function helper($helper = array())

3.third party\MX\Loader.php
line=124
public function helpers($helpers = array())

4.third party\MX\Loader.php
line=142
public function library($library = '', $params = NULL, $object_name = NULL)

5.third party\MX\Loader.php
line=131
public function language($langfile = array(), $idiom = '', $return = FALSE, $add_suffix = TRUE, $alt_path = '')

6.third party\MX\Loader.php
line=283
public function  &_ci_get_component($component)

No comments:

Powered by Blogger.