Fix other minor type issues in libs
[MAILPOET-3926]
This commit is contained in:
committed by
Veljko V
parent
82f666c488
commit
d13f63b3e2
@ -43,7 +43,7 @@ class SettingEntity {
|
||||
|
||||
/** @return mixed */
|
||||
public function getValue() {
|
||||
return is_serialized($this->value) ? unserialize($this->value) : $this->value;
|
||||
return $this->value !== null && is_serialized($this->value) ? unserialize($this->value) : $this->value;
|
||||
}
|
||||
|
||||
/** @param mixed $value */
|
||||
|
Reference in New Issue
Block a user