Replace the line:
with the following one:
list($r, $g, $b) = !is_null($this->_backgroundColor) ? $this->_backgroundColor : [255, 255, 255];
Replace the line:
with the following one:
list($r, $g, $b) = !is_null($this->_backgroundColor) ? $this->_backgroundColor : [255, 255, 255];