mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
N°2783 - Initialize property correctly (highlighted by 58c0da7e)
This commit is contained in:
@@ -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 = [];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user