MDL-51784 various: use __construct() for PHP7 compatibility
This commit is contained in:
committed by
David Monllao
parent
8079f3343f
commit
345f365555
@@ -29,7 +29,7 @@ class Moxiecode_JSONReader {
|
||||
var $_location, $_lastLocations;
|
||||
var $_needProp;
|
||||
|
||||
function Moxiecode_JSONReader($data) {
|
||||
public function __construct($data) {
|
||||
$this->_data = $data;
|
||||
$this->_len = strlen($data);
|
||||
$this->_pos = -1;
|
||||
@@ -360,7 +360,7 @@ class Moxiecode_JSONReader {
|
||||
* @package MCManager.utils
|
||||
*/
|
||||
class Moxiecode_JSON {
|
||||
function Moxiecode_JSON() {
|
||||
public function __construct() {
|
||||
}
|
||||
|
||||
function decode($input) {
|
||||
|
||||
Reference in New Issue
Block a user