[Fixed] missing return statements, on null
This commit is contained in:
bovenliggende
592ea4284c
commit
b7167ec60a
@ -32,6 +32,8 @@ class ManagerHandler
|
||||
return $shopModuleId;
|
||||
}
|
||||
}
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
/**
|
||||
@ -53,7 +55,7 @@ class ManagerHandler
|
||||
*/
|
||||
public function getModuleSettingExplicitManagerSelectValue() :string
|
||||
{
|
||||
return Registry::get(ViewConfig::class)->d3GetModuleConfigParam('_HAS_STD_MANAGER');
|
||||
return Registry::get(ViewConfig::class)->d3GetModuleConfigParam('_HAS_STD_MANAGER')?:"";
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -173,7 +173,7 @@ class ViewConfig extends ViewConfig_parent
|
||||
|
||||
public function isGtmConsentModeSetActivated() :bool
|
||||
{
|
||||
return $this->d3GetModuleConfigParam("_blEnableConsentMode");
|
||||
return $this->d3GetModuleConfigParam("_blEnableConsentMode")?: false;
|
||||
}
|
||||
|
||||
public function getGtmDataLayer()
|
||||
@ -215,7 +215,7 @@ class ViewConfig extends ViewConfig_parent
|
||||
|
||||
public function isDebugModeOn() :bool
|
||||
{
|
||||
return $this->d3GetModuleConfigParam("_blEnableDebug");
|
||||
return $this->d3GetModuleConfigParam("_blEnableDebug")?: false;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -225,7 +225,7 @@ class ViewConfig extends ViewConfig_parent
|
||||
*/
|
||||
public function getServerSidetaggingJsDomain() :string
|
||||
{
|
||||
return $this->d3GetModuleConfigParam("_sServersidetagging_js");
|
||||
return $this->d3GetModuleConfigParam("_sServersidetagging_js")?: "";
|
||||
}
|
||||
|
||||
/**
|
||||
@ -235,7 +235,7 @@ class ViewConfig extends ViewConfig_parent
|
||||
*/
|
||||
public function getServerSidetaggingNoJsDomain() :string
|
||||
{
|
||||
return $this->d3GetModuleConfigParam('_sServersidetagging_nojs');
|
||||
return $this->d3GetModuleConfigParam('_sServersidetagging_nojs')?: "";
|
||||
}
|
||||
|
||||
/**
|
||||
|
Laden…
Verwijs in nieuw issue
Block a user