Skip to content

Commit

Permalink
Dev: fixed issue PHP warning array_merge(): Argument #1 is not an array
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnoulle committed Oct 17, 2018
1 parent 2a7490b commit 5cf53b7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions application/helpers/expressions/em_manager_helper.php
Expand Up @@ -60,13 +60,13 @@ class LimeExpressionManager {
* sum of LEM_DEBUG constants - use bitwise AND comparisons to identify which parts to use
* @var int
*/
private $debugLevel=0;
private $debugLevel = 0;
/**
* sPreviewMode used for relevance equation force to 1 in preview mode
* Maybe we can set it public
* @var string|boolean
*/
private $sPreviewMode=false;
private $sPreviewMode = false;
/**
* Collection of variable attributes, indexed by SGQA code
*
Expand Down Expand Up @@ -106,13 +106,13 @@ class LimeExpressionManager {
*
* @var array
*/
private $knownVars;
private $knownVars = array();

/**
* maps qcode varname to SGQA code
*
* @example ['gender'] = '38612X10X145'
* @var array
* @var array|null
*/
private $qcode2sgqa;

Expand All @@ -130,7 +130,7 @@ class LimeExpressionManager {
*
* @var array
*/
private $tempVars;
private $tempVars = array();

/**
* Array of relevance information for each page (gseq), indexed by gseq.
Expand Down Expand Up @@ -160,12 +160,12 @@ class LimeExpressionManager {
* internally set to true (1) for survey.php so get group-specific logging but keep javascript variable namings consistent on the page.
* @var boolean
*/
private $allOnOnePage=false;
private $allOnOnePage = false;
/**
* survey mode. One of 'survey', 'group', or 'question'
* @var string
*/
private $surveyMode='group';
private $surveyMode = 'group';
/**
* a set of global survey options passed from LimeSurvey
*
Expand All @@ -190,7 +190,7 @@ class LimeExpressionManager {
*
* @var array
*/
private $surveyOptions=array();
private $surveyOptions = array();
/**
* array of mappings of Question # (qid) to pipe-delimited list of SGQA codes used within it
*
Expand Down

0 comments on commit 5cf53b7

Please sign in to comment.