diff --git a/setup/compiler.class.inc.php b/setup/compiler.class.inc.php index 9a51ebfba..f0dbda64e 100644 --- a/setup/compiler.class.inc.php +++ b/setup/compiler.class.inc.php @@ -119,7 +119,8 @@ class MFCompiler $this->oFactory->ApplyChanges(); - $this->aLog = array(); + $this->aCustomListsCodes = []; + $this->aLog = []; $this->sMainPHPCode = '<'.'?'."php\n"; $this->sMainPHPCode .= "/**\n"; $this->sMainPHPCode .= " * This file was automatically generated by the compiler on ".date('Y-m-d H:i:s')." -- DO NOT EDIT\n"; @@ -127,8 +128,8 @@ class MFCompiler $this->sMainPHPCode .= "\n"; $this->sCompilationTimeStamp = "".microtime(true); $this->sMainPHPCode .= "define('COMPILATION_TIMESTAMP', '".$this->sCompilationTimeStamp."');\n"; - $this->aSnippets = array(); - $this->aRelations = array(); + $this->aSnippets = []; + $this->aRelations = []; $this->aClassesCSSRules = []; }